MATLAB Answers

how to find sub matrixes in large one

3 views (last 30 days)
xuan hau nguyen
xuan hau nguyen on 14 Apr 2017
Commented: xuan hau nguyen on 17 Apr 2017
I try to find sub matrixes in large one. I read documents a lot, but didnt find functions support for this one please help me
  2 Comments
Image Analyst
Image Analyst on 14 Apr 2017
Well it might not be magic, but it might cut down on the number of lines if you use normxcorr2() and look for the max value, as I show in my demo below.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 14 Apr 2017
If you have the Image Processing Toolbox, you can use normxcorr2(). Demo m-file is attached below the image.
  12 Comments
xuan hau nguyen
xuan hau nguyen on 17 Apr 2017
example a my Tamplate [1 1 1 1 1 1; 1 1 1 1 1 1; 1 1 1 1 1 1]

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by