How to compare each element of matrix to specific number and count it ?
1 view (last 30 days)
Show older comments
Abdulrahman Alghamdi
on 13 Sep 2020
I have 3x3 matrix and i want to write code to count the elements which are less than 3 by using if statement .
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Operating on Diagonal Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!