Finding patterns of numbers in my array

Hello again
Last part of code which i need help with, i and am extremely grateful for the help i have already received but anyway moving on. I have an array ( 20 by 20 ) i have to find patterns for example, a row of 3, 1's. [ 0, 1, 1, 1, 0] would be a pattern. I need to be able to search for those sets of patterns and then record that is has been found. How may i be able to do so?

1 Kommentar

Image Analyst
Image Analyst am 25 Aug. 2020
Original question in case he deletes it like he's done with other posts:
Hello again
Last part of code which i need help with, i and am extremely grateful for the help i have already received but anyway moving on. I have an array ( 20 by 20 ) i have to find patterns for example, a row of 3, 1's. [ 0, 1, 1, 1, 0] would be a pattern. I need to be able to search for those sets of patterns and then record that is has been found. How may i be able to do so?

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 29 Sep. 2016

Kommentiert:

am 25 Aug. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by