Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to produce graphs out of the following code?

1 Ansicht (letzte 30 Tage)
GEORGIOS BEKAS
GEORGIOS BEKAS am 11 Jan. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
The cost matrix stands for the connectivity and the distances among nodes.
% cost=[ x x x 0 0 0
% 0 x 0 0 0 0
% 0 0 x x x 0
% 0 0 0 x x 0
% 0 0 0 0 x x
% 0 0 0 0 0 x ];

Antworten (1)

Walter Roberson
Walter Roberson am 12 Jan. 2018
Have you considered using the plot() method of graph() objects? https://www.mathworks.com/help/matlab/ref/graph.plot.html

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by