Conditional equation X1=X(y==1) ?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Safouane Chergui
le 13 Juil 2017
Réponse apportée : Fangjun Jiang
le 13 Juil 2017
I have a matrix X and a column vector y. When I write something like X1=X(y==1), I only get the numbers from the first column of X. How to get numbers from all others columns when y==1 ?
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Indexing 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!