How do I identify consecutive positive values in an array?

1 view (last 30 days)
I have a seismic section in the form an array that's a 4809x3874 double (I've taken a screenshot of a portion for context). I want to identify the top horizon (the thick green band) which, in the array, is multiple (9-12) rows of consecutive positive values in a single column. How can I identify these consecutive rows of positive values thereby identifying the top reflector?

Answers (0)

Categories

Find more on Seismology 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!