How to make a graph with nodes and edges

1 vue (au cours des 30 derniers jours)
Nora Khaled
Nora Khaled le 22 Avr 2019
Commenté : Nora Khaled le 22 Avr 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 commentaire
KSSV
KSSV le 22 Avr 2019
To use this you need to have graph tool box....

Connectez-vous pour commenter.

Réponse acceptée

Sean de Wolski
Sean de Wolski le 22 Avr 2019
What version of MATLAB are you using? graph() was introduced in R2015b
  1 commentaire
Nora Khaled
Nora Khaled le 22 Avr 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)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Graph and Network Algorithms dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by