MATLAB : search and count (?)
- by Arkapravo
Some MATLAB help needed !
I have an set of 1s and 0s, I need to find how many 1s and how many 0s.
(i.e. x = [ 1 1 0 0 0 0 0 1 0 0 1 1 ....] ) . I was looking at some search and count inbuilt function, however I have not been successful.