Conditional equation X1=X(y==1) ?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Safouane Chergui
il 13 Lug 2017
Risposto: Fangjun Jiang
il 13 Lug 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 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!