adjacent region

1 visualización (últimos 30 días)
Mohammad Golam Kibria
Mohammad Golam Kibria el 11 de Sept. de 2011
Hi suppose I have a matrix as follows:
I =
1 1 2 2 1 1
3 1 1 1 2 2
I need to find the adjacent region in a variable, here adjacent regions are J=
1 3
1 2
or J=
2 1
3 1
needs any of this two since 2 1 and 1 2 are same Is there any easy way to have this?
  1 comentario
Walter Roberson
Walter Roberson el 11 de Sept. de 2011
I do not understand how you are determining what a "region" is, or how you are determining what an "adjacent region" is ??

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by