How to create a complete graph in MATLAB?

15 ビュー (過去 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 Center および File ExchangeGraph and Network Algorithms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by