Consecutive ones in matlab

The following Matlab project contains the source code and Matlab examples used for consecutive ones. Finds the number of consecutive ones in a binary signal. Returns the starting and ending points of the consecutive set and also the count. Since it does not use any for loop. It is pretty fast

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
consecutive_ones.m 503
license.txt 1307