How to make a graph with nodes and edges

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 Comment

To use this you need to have graph tool box....

Sign in to comment.

 Accepted Answer

What version of MATLAB are you using? graph() was introduced in R2015b

1 Comment

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)

Sign in to comment.

More Answers (0)

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!