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