How can I delete a row of numbers in which the number in the first column is less than a threshold?
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?
Risposta accettata
Più risposte (1)
Azzi Abdelmalek
il 19 Giu 2013
A=rand(100,2) %example
a=A(1,:);
A(A(:,1)<0.2,:)=[];
A=[a;A]
Categorie
Scopri di più su Vehicle Dynamics Blockset in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!