Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to remove duplicates in a specific manner?

1 回表示 (過去 30 日間)
armin farshbaf
armin farshbaf 2016 年 11 月 14 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
How can i convert A=[1 1 2 2 3 3;1 1 2 2 3 3;1 1 2 2 3 3;1 1 2 2 3 3;7 7 8 8 9 9;7 7 8 8 9 9] to B=[1 2 3;1 2 3;7 8 9]? Thanks

回答 (1 件)

Thorsten
Thorsten 2016 年 11 月 14 日
編集済み: Thorsten 2016 年 11 月 14 日
B = unique(unique(A, 'rows')', 'rows')'
  1 件のコメント
armin farshbaf
armin farshbaf 2016 年 11 月 14 日
Thanks I appreciate the help

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

Community Treasure Hunt

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

Start Hunting!

Translated by