I have a cell array with non unique elements and an array with corresponding integer values. I'd like to combine all the repeat cell array values and sum the corresponding array values. Any ideas?
% Old Data
descr = {'A','B','C','A','B'} value = [2,4,6,-5,8] % New Data
descr = {'A','B','C'} value = [-3,12,6]
Best Answer