finding unique values of mixed data types.
Show older comments
I have a mixed dataset file with strings, integers and real numbers. I load it in matlab into a cell where each cell is a word or a number and every column has only values of the same datatype. I want to now to find unique values of each column. This is possible for strings. For strings I can do UNIQUE(data(1:50,1)) which would give me unique strings for the first 50 rows of column 1. Is there a fast way for doing this for integers?
Thanks
Accepted Answer
More Answers (0)
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!