Select repeating elements in an matrix
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Maria Jesús Pérez Saiz
le 3 Juin 2021
Commenté : Sulaymon Eshkabilov
le 3 Juin 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 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrices and Arrays dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!