Duplicating part of a matrix
1 view (last 30 days)
Show older comments
Say I have a row vector, and I want to make another vector of all the values in the other one greater than some threshold. I can probably do this with an if inside a for loop, or something like that, but is there a specific command for this?
1 Comment
Azzi Abdelmalek
on 22 Nov 2014
there is no a specific command for a general question, can you post an example?
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Logical 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!