Write out which values are represented in an array

1 visualizzazione (ultimi 30 giorni)
Hello, I have an array. For example [3 4 5 63 5 6 4 3 5 6 4 32]. I need a function that returns the values which are in the array. So the result of the function is: [3 4 5 6 32 63]. I cannot find a solution.
Thank you very much.

Risposta accettata

John D'Errico
John D'Errico il 2 Gen 2018
help unique

Più risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by