How do i find the maximum consecutively ones in a logical array?
Show older comments
for example an array after a logical test A= [ 1 1 1 0 1 0 1 1 1 1 1 0 0 0 1 1 1]
Accepted Answer
More Answers (0)
Categories
Find more on Construct and Work with Object Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!