Counting certain values from an array
1 view (last 30 days)
Show older comments
Vadim Tambovtsev
on 22 Sep 2016
Edited: Image Analyst
on 22 Sep 2016
Suppose we have an array r=(2,2,2) filled with zeros and ones. How to count up how many zeros and how many ones do we have?
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Multidimensional Arrays 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!