how to count number of elements of same value in a matrix?
- by niko
Hi,
Does anyone know how to count the number of times the value appears in a matrix?
For example if we have a 1500 x 1 matrix M (vector) which stores the values of weekdays (1 - 7) and would like to count how many Sundays (1), Mondays(2),... , Saturdays(7) are stored in M?
Thank you!