Info
This question is closed. Reopen it to edit or answer.
Returning values in a matrix between 1 and 2
1 view (last 30 days)
Show older comments
how would I write a script that returns the values in a matrix between 1 and 2. both using for loops and not.
Answers (1)
Walter Roberson
on 21 Apr 2014
See also logical indexing
values = YourMatrix(YourMatrix > 1 & YourMatrix < 2);
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!