How can I delete a row of numbers in which the number in the first column is less than a threshold?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
How can I delete a row of numbers in which the number in the first column is less than a threshold?
0 Commenti
Risposta accettata
Sean de Wolski
il 19 Giu 2013
glass half empty
X(X(:,1)<10,:) = [];
glass half full
Y = X(X(:,1)>=10,:);
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Environment and Settings 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!