Select repeating elements in an matrix
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Maria Jesús Pérez Saiz
am 3 Jun. 2021
Kommentiert: Sulaymon Eshkabilov
am 3 Jun. 2021
I have this matrix:
1 44
1 24
2 56
1 26
2 51
2 56
I want to select all rows whose first column is a one.
That is, I want to get an array:
1 44
1 24
1 26
and on the other hand:
2 56
2 51
2 56
Thank you very much for the help
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!