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 个评论

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?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by