Count percentage of zero elements of a matrix
1 view (last 30 days)
Show older comments
Hi,
I want to count the percentage of zero elements of a matrix. For an example, I have matrix 3x3
M = [1 1 0 1 0 0 0 0 0]
Can anyone help me with Matlab code?I'm a newbie with Matlab. Tq
1 Comment
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!