Is it possible to allow the UNIQUE function to support mixed data type cell arrays in MATLAB 7.7 (R2008b)?
Show older comments
The UNIQUE function cannot search over cell arrays which contain elements that are not of type string. The following example illustrates this behavior.
C={'abc' 'abc' 4};
unique(C)
??? Error using ==> cell.unique
Input must be a cell array of strings.
Accepted Answer
More Answers (0)
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!