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.

Réponses (1)

KALYAN ACHARJYA
KALYAN ACHARJYA le 17 Déc 2020
Modifié(e) : KALYAN ACHARJYA le 17 Déc 2020

0 votes

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

Catégories

En savoir plus sur Geology dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by