MATLAB : search and count (?)

Posted by Arkapravo on Stack Overflow See other posts from Stack Overflow or by Arkapravo
Published on 2010-04-09T07:18:10Z Indexed on 2010/04/09 7:23 UTC
Read the original article Hit count: 146

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about matlab

Related posts about searching