Generating adjacency matrix for an un-directed graph

2 ビュー (過去 30 日間)
Christy Jackson
Christy Jackson 2016 年 3 月 16 日
コメント済み: Christy Jackson 2016 年 3 月 17 日
I need to generate an adjacency matrix for an un-directed graph. I m new to matlab can someone help

採用された回答

Steven Lord
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.
  1 件のコメント
Christy Jackson
Christy Jackson 2016 年 3 月 17 日
Thanks Steven Lord. If i had to plot some points on a cartesian graph and convert that to an adjacency matrix, how do i go about it?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeUndirected Graphs についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by