Count percentage of zero elements of a matrix
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
Image Analyst
on 7 Jul 2013
What does this have to do with image processing?
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic 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!