How to extract common points from a csv file with same Id?

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (1)

Rik
Rik il 10 Set 2021
The easiest way is probably with histcounts (or histc on old releases).

Community Treasure Hunt

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

Start Hunting!

Translated by