Clear Filters
Clear Filters

Finding patterns of numbers in my array

1 view (last 30 days)
Matlabhelp
Matlabhelp on 29 Sep 2016
Commented: Image Analyst on 25 Aug 2020
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 Comment
Image Analyst
Image Analyst on 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?

Sign in to comment.

Answers (1)

José-Luis
José-Luis on 29 Sep 2016

Community Treasure Hunt

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

Start Hunting!