How to create a complete graph in MATLAB?

18 次查看(过去 30 天)
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

更多回答(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