How many times specific element occurs in each column of a given matrix
1 view (last 30 days)
Show older comments
Damian Wierzbicki
on 6 Jul 2017
Commented: Damian Wierzbicki
on 6 Jul 2017
Hi all. Assume that I have a big matrix and I want to calculate how many times a specific element, for instance 0, occurs in each column of that matrix and then store those values in a row vector ? Is there a way of doing that ? Thank you.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Resizing and Reshaping Matrices 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!