If any element of the array is less than a number, do some statements

13 次查看(过去 30 天)
If any element of the array is less than a number, do some statements
I want to use this above thing in while loop

采纳的回答

Walter Roberson
Walter Roberson 2019-5-5
if any(YourArray(:) < TheValue)
do the statements
end
  9 个评论
Walter Roberson
Walter Roberson 2019-5-7
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by