Generating adjacency matrix for an un-directed graph
2 ビュー (過去 30 日間)
古いコメントを表示
I need to generate an adjacency matrix for an un-directed graph. I m new to matlab can someone help
0 件のコメント
採用された回答
Steven Lord
2016 年 3 月 16 日
Are you using a graph object? If so, call adjacency on it. If instead you just have a list of edges, take a look at the functions sparse or accumarray.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Undirected Graphs についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!