Find the index of the lowest number greater than zero in a vector
19 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Erik Lenstrup
am 22 Aug. 2016
Kommentiert: Erik Lenstrup
am 22 Aug. 2016
I would like to find the index of the lowest number greater than zero in a vector. ex: [0,0,4,5,0] The answer should be 3 because 4 is the third element.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Shifting and Sorting Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!