Select specific rows in dataset

Hello everyone, I have a dataset of 3174 rows and 2041 columns. In the 2041 column of this dataset there are numbers "0", "1", and "2". These numbers are the classification of something. How can I obtain all rows with "0" in column 2041? I will be grateful if you could help me.

回答 (1 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2020 年 12 月 17 日
編集済み: KALYAN ACHARJYA 2020 年 12 月 17 日

0 投票

c=find(data_set(:,2041)==0)

1 件のコメント

Ahmet Batu Alptekin
Ahmet Batu Alptekin 2020 年 12 月 17 日
Thank you very much

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeGeology についてさらに検索

質問済み:

2020 年 12 月 17 日

コメント済み:

2020 年 12 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by