Write out which values are represented in an array

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.

 採用された回答

John D'Errico
John D'Errico 2018 年 1 月 2 日

0 投票

help unique

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Types についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by