MATLAB: Remove Duplicates from Cell ArrayMATLABHello there, if I have a cell array as following:in which the first column is constructed of type 'char' for each element, how can I extract this first col. without duplicates?Thanks in Advance Best AnswerYou can use unique()C; % your cell arraycountry_names = unique(C(:,1))
Best Answer