I have a column matrix of integers like [1;4;3;2;3]
.
How to count the number of 3's (there are two)?
The number of threes is
sum([1;4;3;2;3] == 3)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With