filtering values in a matrix
Show older comments
for example I have a matrix
A=1 2
3 0
0 0
4 5
0 6
I need to filter out only those rows having no zeros(in this case [4 5]). thank you for your help.........
2 Comments
Image Analyst
on 11 Mar 2013
Why does row 1, with [1,2] in it, get to remain?
suresh G
on 11 Mar 2013
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB 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!