I want to create a data structure to find unique unsorted values, from an initial vector. I am doing something wrong.
y = []j =1for i = 1:length(x)z = sum(find(y == x(1)))if z <1y(j) = x(i)j = j+1endend
findMATLAB
y = []j =1for i = 1:length(x)z = sum(find(y == x(1)))if z <1y(j) = x(i)j = j+1endend
Best Answer