How to delete an repeated values in this case?

I should not get the repeated values of "[allR11; allR21] "(line no:391), just run my code you will get so many repeated values so how can i delete those repeated values.

回答 (1 件)

Jason Moore
Jason Moore 2015 年 2 月 6 日

0 投票

Hi Arul,
Does the command unique([allR11; allR21]) get you the result you are looking for? The unique command removes repeats in an array/vector.

1 件のコメント

Matlab111
Matlab111 2015 年 2 月 7 日
ya but after executing the code i'm getting an repeated value so for that what should i do....

この質問は閉じられています。

質問済み:

2015 年 2 月 6 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by