4-neighbourhood of a set

Say the I have the following set (matrix):
I=[4 3 5; 5 3 2; 5 3 2]
How can I find the 4-neighbourhoods to that matrix?
Thanks.

Answers (0)

Categories

Asked:

on 5 Mar 2014

Community Treasure Hunt

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

Start Hunting!