How to extract common points from a csv file with same Id?
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Rik
on 10 Sep 2021
The easiest way is probably with histcounts (or histc on old releases).
0 Comments
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!