How to make a graph with nodes and edges

1 Ansicht (letzte 30 Tage)
Nora Khaled
Nora Khaled am 22 Apr. 2019
Kommentiert: Nora Khaled am 22 Apr. 2019
Hello!
I am trying to use the function graph but I get the error.
Undefined function or variable 'graph'.
I am trying to make some graph like this one
screen-capture.png
  1 Kommentar
KSSV
KSSV am 22 Apr. 2019
To use this you need to have graph tool box....

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 22 Apr. 2019
What version of MATLAB are you using? graph() was introduced in R2015b
  1 Kommentar
Nora Khaled
Nora Khaled am 22 Apr. 2019
Yes, it seems this is the problem.
I tryed it on an another machine and it works.
Do you know how to make the graphs look like in the picture.
(white circuls with a bigger radiuse)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Graph and Network Algorithms finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by