How to find first row with a nonzero element in an image matrix?
3 ビュー (過去 30 日間)
古いコメントを表示
Teresita Ramirez Aguilar
2019 年 8 月 16 日
コメント済み: Teresita Ramirez Aguilar
2019 年 8 月 19 日
I am trying to find the first row in an image matrix with a non zero value in it.
PLS&THANK YOU!
0 件のコメント
採用された回答
Walter Roberson
2019 年 8 月 16 日
編集済み: Walter Roberson
2019 年 8 月 16 日
find(any(any(YourImage, 3),2),1,'first')
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!