Finding patterns of numbers in my array

1 vue (au cours des 30 derniers jours)
Matlabhelp
Matlabhelp le 29 Sep 2016
Commenté : Image Analyst le 25 Août 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 commentaire
Image Analyst
Image Analyst le 25 Août 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?

Connectez-vous pour commenter.

Réponses (1)

José-Luis
José-Luis le 29 Sep 2016

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by