필터 지우기
필터 지우기

How to create a complete graph in MATLAB?

조회 수: 13 (최근 30일)
NIHARIKA
NIHARIKA 2014년 10월 4일
답변: Walter Roberson 2016년 4월 26일
I have a row vector S = [1,5,36,8,9,4] indicating the nodes whose locations are given by a LOC matrix. Also I have a distance matrix indicating the distances between these nodes. I want to construct a complete graph using these vertices i.e every vertex should touch every other vertex. How can it be done in MATLAB?

채택된 답변

per isakson
per isakson 2014년 10월 4일
편집: per isakson 2014년 10월 4일
AFAIK: It's in the Bioinformatics Toolbox. See Working with Graph Theory Functions
There might something useful in the File Exchange
  댓글 수: 2
NIHARIKA
NIHARIKA 2014년 10월 4일
Is this toolbox also useful for applying minimum spanning tree on the graph?
per isakson
per isakson 2014년 10월 4일
I don't know. A simple search returned Graph::minimumSpanningTree

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2016년 4월 26일

카테고리

Help CenterFile Exchange에서 Directed Graphs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by