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

13 visualizzazioni (ultimi 30 giorni)
If any element of the array is less than a number, do some statements
I want to use this above thing in while loop

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by