Find the index of the lowest number greater than zero in a vector
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Erik Lenstrup
il 22 Ago 2016
Commentato: Erik Lenstrup
il 22 Ago 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 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing 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!