adjacent region

조회 수: 3 (최근 30일)
Mohammad Golam Kibria
Mohammad Golam Kibria 2011년 9월 11일
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
Walter Roberson
Walter Roberson 2011년 9월 11일
I do not understand how you are determining what a "region" is, or how you are determining what an "adjacent region" is ??

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by