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

1 回表示 (過去 30 日間)
Yogender Yogender
Yogender Yogender 2021 年 9 月 9 日
回答済み: Rik 2021 年 9 月 10 日
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.

回答 (1 件)

Rik
Rik 2021 年 9 月 10 日
The easiest way is probably with histcounts (or histc on old releases).

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by