Question on plotting a graph

조회 수: 5 (최근 30일)
John
John 2013년 12월 16일
답변: dpb 2013년 12월 16일
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일

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by