Select specific rows in dataset

11 次查看(过去 30 天)
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
c=find(data_set(:,2041)==0)

类别

Help CenterFile Exchange 中查找有关 Geology 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by