I have a random array of 20 numbers from 1 to 120. How do extract the first number that is more than 70?

Antworten (1)

madhan ravi
madhan ravi am 27 Feb. 2019
Bearbeitet: madhan ravi am 1 Mär. 2019

0 Stimmen

array(find(array>70,1,'first'))

Kategorien

Mehr zu Matrices and Arrays finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 27 Feb. 2019

Bearbeitet:

am 1 Mär. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by