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
173 Solvers
948 Solvers
135 Solvers
Create a two dimensional zero matrix
275 Solvers
204 Solvers