Clear Filters
Clear Filters

How to make a graph with nodes and edges

2 views (last 30 days)
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

Accepted Answer

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

Sign in to comment.

More Answers (0)


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!