Extract a patch from a matrix

Dear All! I have a matrix suppose 8by8 having different values. I need to extract a 3by3 patch from that matrix. Can any body please help me. Thanks in advance.
Regards: Muhammad Qasim

Answers (0)

Asked:

on 24 Dec 2013

Community Treasure Hunt

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

Start Hunting!