Question on plotting a graph

I've an adjacency matrix :
G = [0 2 5 0;0 0 1 4;0 1 0 2 ; 0 3 2 0];
where if G(i,j) = 0 then there is no edge between node i and node j and if G(i,j) = some number, then there is an edge between node i and node j. This is a very small example. My datasets have 5000 nodes. I wanted to plot it in a graph to see how it looks. Is there a way to do it?

回答 (1 件)

dpb
dpb 2013 年 12 月 16 日

0 投票

doc gplot

カテゴリ

ヘルプ センター および File ExchangeNetworks についてさらに検索

タグ

質問済み:

2013 年 12 月 16 日

回答済み:

dpb
2013 年 12 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by