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 CenterFile Exchange에서 Undirected Graphs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by