Consecutive Ones
Version 1.0.0.0 (1.23 KB) by
Shreyes
Finds the number of consecutive ones in a binary signal. Returns the starting and ending points
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
Cite As
Shreyes (2024). Consecutive Ones (https://www.mathworks.com/matlabcentral/fileexchange/34914-consecutive-ones), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Correlation and Convolution >
Find more on Correlation and Convolution in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |