フィルターのクリア

Matrix with double values

2 ビュー (過去 30 日間)
Eric
Eric 2014 年 12 月 4 日
コメント済み: Eric 2014 年 12 月 4 日
Hi everybody,
I have a matrix with the double amount of values in (almost) random order and I would like to be able to find and delete the double values.
Example:
Val = [2;4;7;2;3] (5x1 double) and I would like to find and delete (or replace) 2 since it occurs twice.
Does anyone know how to do this?
Best regards,
Christian

採用された回答

Image Analyst
Image Analyst 2014 年 12 月 4 日
Val = unique(Val);
  1 件のコメント
Eric
Eric 2014 年 12 月 4 日
Thank you

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by