Finding patterns of numbers in my array

1 次查看(过去 30 天)
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 个评论
Image Analyst
Image Analyst 2020-8-25
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?

请先登录,再进行评论。

回答(1 个)

José-Luis
José-Luis 2016-9-29

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by