I have the next problem. I try to create a graph with 24 nodes, but the last three are deleted because there is no edge that go to them.
How can I force my graph to have 24 nodes?
GRAFO.png

 Accepted Answer

plot(digraph(o,d,[],24))

2 Comments

thank you!
Ridwan Alam
Ridwan Alam on 18 Dec 2019
Edited: Ridwan Alam on 19 Dec 2019
Sure. Glad to help.

Sign in to comment.

More Answers (0)

Categories

Find more on Networks 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!