Given a list of names in a cell array, remove any duplications that result from different capitalizations of the same string. So if
names_in = {'bert','arthur','Bert','Fred'};
the
names_out = clean_list(names_in)
results in
names_out = {'bert','arthur','Fred'};
Always take the first occurrence of the duplicated string
I used lower() and unique().Runs fine on my R2010a version. shows error here.
My MATLAB (2011a) doesn't allow the use of 'stable' as an option. Is this a very new addition?
yes it's new in r2012a
984 Solvers
middleAsColumn: Return all but first and last element as a column vector
314 Solvers
Rotate input square matrix 90 degrees CCW without rot90
308 Solvers
135 Solvers
152 Solvers