How to make a graph with nodes and edges
1 view (last 30 days)
Show older comments
Nora Khaled
on 22 Apr 2019
Commented: Nora Khaled
on 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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/215264/screen-capture.png)
Accepted Answer
Sean de Wolski
on 22 Apr 2019
What version of MATLAB are you using? graph() was introduced in R2015b
More Answers (0)
See Also
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!