If I have a vector, e.g.
A = [ 2 8 6 5 3 3 6 5 5 3 4 1 2 9 6]
How do I return a vector which just gives single examples of the elements of A, e.g.
B = [1 2 3 5 6 8 9]
Kind regards,
Tom
elementsfindofvector
A = [ 2 8 6 5 3 3 6 5 5 3 4 1 2 9 6]
B = [1 2 3 5 6 8 9]
Best Answer