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

13 ビュー (過去 30 日間)
Milan Basa
Milan Basa 2019 年 5 月 5 日
コメント済み: Walter Roberson 2019 年 5 月 7 日
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 件のコメント
Milan Basa
Milan Basa 2019 年 5 月 7 日
I'm following this pdf.
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 Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by