How to extract common points from a csv file with same Id?
1 回表示 (過去 30 日間)
古いコメントを表示
I have a Csv file with thousands of point data with an attribute ID value. I want to extract all the points which have same ID value more than 2 times in the data ?
For ex. Attribute "ID value" in the csv = 1,2,3,1,1,3,4,5,6,1,1,2,3,7,2,4 ( I need 1,2,3 )
From this , I want to extract the ID value which are more than 3 times in the dataset.
Thanks.
0 件のコメント
回答 (1 件)
Rik
2021 年 9 月 10 日
The easiest way is probably with histcounts (or histc on old releases).
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!