How to create a complete graph in MATLAB?

15 visualizaciones (últimos 30 días)
NIHARIKA
NIHARIKA el 4 de Oct. de 2014
Respondida: Walter Roberson el 26 de Abr. de 2016
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?

Respuesta aceptada

per isakson
per isakson el 4 de Oct. de 2014
Editada: per isakson el 4 de Oct. de 2014
AFAIK: It's in the Bioinformatics Toolbox. See Working with Graph Theory Functions
There might something useful in the File Exchange
  2 comentarios
NIHARIKA
NIHARIKA el 4 de Oct. de 2014
Is this toolbox also useful for applying minimum spanning tree on the graph?
per isakson
per isakson el 4 de Oct. de 2014
I don't know. A simple search returned Graph::minimumSpanningTree

Iniciar sesión para comentar.

Más respuestas (1)

Walter Roberson
Walter Roberson el 26 de Abr. de 2016

Categorías

Más información sobre Graph and Network Algorithms en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by