How can I delete a row of numbers in which the number in the first column is less than a threshold?
Show older comments
How can I delete a row of numbers in which the number in the first column is less than a threshold?
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 19 Jun 2013
A=rand(100,2) %example
a=A(1,:);
A(A(:,1)<0.2,:)=[];
A=[a;A]
Categories
Find more on Other Formats in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!