How can I delete a row of numbers in which the number in the first column is less than a threshold?
2 views (last 30 days)
Show older comments
How can I delete a row of numbers in which the number in the first column is less than a threshold?
0 Comments
Accepted Answer
Sean de Wolski
on 19 Jun 2013
glass half empty
X(X(:,1)<10,:) = [];
glass half full
Y = X(X(:,1)>=10,:);
More Answers (1)
See Also
Categories
Find more on Environment and Settings 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!