How can i delete repeated rows?
1 回表示 (過去 30 日間)
古いコメントを表示
I have a matrix A as follows
A = 1,1,2,3,4
2,1,2,3,4
I'd like to consider that the two rows are identical as the firs column only describes the index, so the output should like
A = 1,1,2,3,4
or
A= 2,1,2,3,4
when I make use of unique(A,'rows') it doesn't consider the two rows are identical
Any help, please.
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!