How do i find the maximum consecutively ones in a logical array?

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]

More Answers (0)

Categories

Find more on Construct and Work with Object Arrays in Help Center and File Exchange

Asked:

on 28 Mar 2018

Commented:

on 28 Mar 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!