table remove repeated columns
3 ビュー (過去 30 日間)
古いコメントを表示
I have a table call Values with two fields
Velocity Acceleration
________ ____________
10 30
10 20
20 20
10 30
30 50
and I want to remove the rows that are repeated with are row and therefore get this table
Velocity Acceleration
________ ____________
10 30
10 20
20 20
30 50
thanks!
0 件のコメント
回答 (1 件)
Niraj Sanghvi
2017 年 3 月 16 日
I believe the unique function should work in this case:
uniqueValues = unique(Values);
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Tables についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!