필터 지우기
필터 지우기

How to find the neighbors of a 150x150 matrix?

조회 수: 3 (최근 30일)
Godfred
Godfred 2023년 11월 13일
댓글: Matt J 2023년 11월 13일
I have a 150x150 matrix which represents grains of a of an engineering material. I wanted help with a code on how to find the neighbors of these grains and use it draw a node and vertex graph.

답변 (1개)

Matt J
Matt J 2023년 11월 13일
You can use bwboundaries.
  댓글 수: 2
Godfred
Godfred 2023년 11월 13일
Thank you
Matt J
Matt J 2023년 11월 13일
You're welcome, but if that answers your question, please Accept-click the answer.

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

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by