I have a vector, 'A', of length 'n' with non-unique strings. Some entries will repeat but not necessarily all. I would like to create a cell array that lists the unique strings and another cell array that lists how many times each string occured in vector 'A'.
I would like to perform this in a vectorized method as the cell array is quite large and using a FOR loop to compare each unique entry against the entire vector is very time consuming.
Best Answer