If any element of the array is less than a number, do some statements
43 views (last 30 days)
Show older comments
Milan Basa
on 5 May 2019
Commented: Walter Roberson
on 7 May 2019
If any element of the array is less than a number, do some statements
I want to use this above thing in while loop
0 Comments
Accepted Answer
Walter Roberson
on 5 May 2019
if any(YourArray(:) < TheValue)
do the statements
end
9 Comments
Walter Roberson
on 7 May 2019
Sorry, I am having problems with my vision, and that pdf is too much for me to go through in detail and compare to your code.
More Answers (0)
See Also
Categories
Find more on Line Plots 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!