Extracting a certain value
Mostrar comentarios más antiguos
I have a random array of 20 numbers from 1 to 120. How do extract the first number that is more than 70?
Respuestas (1)
madhan ravi
el 27 de Feb. de 2019
Editada: madhan ravi
el 1 de Mzo. de 2019
array(find(array>70,1,'first'))
Categorías
Más información sobre Matrices and Arrays en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!