How to find first row with a nonzero element in an image matrix?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Teresita Ramirez Aguilar
il 16 Ago 2019
Commentato: Teresita Ramirez Aguilar
il 19 Ago 2019
I am trying to find the first row in an image matrix with a non zero value in it.
PLS&THANK YOU!
0 Commenti
Risposta accettata
Walter Roberson
il 16 Ago 2019
Modificato: Walter Roberson
il 16 Ago 2019
find(any(any(YourImage, 3),2),1,'first')
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!