How can I remove values from a matrix outside the range and create matrix within the range
17 views (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151842/image.jpeg)
0 Comments
Accepted Answer
per isakson
on 6 Jul 2015
Y = X( X>=20 & X<=23 );
3 Comments
Ishaan Chauhan
on 15 Feb 2021
How would you do this for a much larger matrix that isn't 1 x (_) ?
Best, and sorry for continuining a 6 year old thread
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!