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

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.

Answers (1)

The easiest way is probably with histcounts (or histc on old releases).

Asked:

on 9 Sep 2021

Answered:

Rik
on 10 Sep 2021

Community Treasure Hunt

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

Start Hunting!