-
2 Comments
Karthik Raja Arumugam
on 12 Feb 2014
Is there any way to avoid this for loop??
joh4n
on 20 May 2014
Yes, a hint: compare with zeros matrix and count (sum) the nonzero elements in this logical matrix.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!