About unique command problem
古いコメントを表示
Hi,
I used unique(A,'rows') to find unique rows of matrix A, however, it has a problem that after picking unique rows, it will order them in a manner. That is bad to my problem, I want to keep the order as originally in A.
Is there a command that prohibits sorting rows but only deleting same rows(reserve the first appearance) in MATLAB?
Thanks
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Octave についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!