how to extract different values/elements of matrix or vector without repeating?

Hello,
I have a vector/ or it could be array : A = [1,2,3,4,5,1,2,3,4,5,1,2,3] I want to extract existing different values/elements from this vector without repeating: 1,2,3,4,5 B= [1,2,3,4,5]
How can I extract it ?
I would appreciate for any help please

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Asked:

on 8 Feb 2017

Commented:

on 8 Feb 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!