How to check if any row has 0?
43 views (last 30 days)
Show older comments
Beibit Sautbek
on 8 Aug 2016
Answered: Azzi Abdelmalek
on 8 Aug 2016
If I have matrix A=
0 0 0 5
1 1 4 3
1 3 4 5
2 0 0 5
I need to find that rows which has 0.
A result should show rows 1 and 4, which there are some zeros.
Could anyone help me?!
0 Comments
Accepted Answer
More Answers (1)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!