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

13 visualizaciones (últimos 30 días)
If any element of the array is less than a number, do some statements
I want to use this above thing in while loop

Respuesta aceptada

Walter Roberson
Walter Roberson el 5 de Mayo de 2019
if any(YourArray(:) < TheValue)
do the statements
end
  9 comentarios
Walter Roberson
Walter Roberson el 7 de Mayo de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by