How to convert a graph to adjacency matrix?
古いコメントを表示
Hi. I've created a graph G in MATLAB. But when I type A = adjacency(G), I get this error:
Unable to use a value of type 'graph' as an index.
1 件のコメント
Ameer Hamza
2020 年 5 月 2 日
Can you share an example code that can recreate this error?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Networks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!