I have a vector A = [2,5,6,2,4,13,34,3,34]. I want to find the unique value of this vector, but not in sorted order! I searched Matlab site and I found this function
[C, ia, ic] = unique(A,'rows','stable')
but this function is not recognized in Matlab R2011a! probably this feature works on the version above 2011! Does anyone know how I can find unique values of A in the same order as in A, for example: A = [2,5,6,4,13,34,3]
source
share