フィルターのクリア

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