Force nodes to my graph

4 Ansichten (letzte 30 Tage)
Nathalia Wolf
Nathalia Wolf am 18 Dez. 2019
Bearbeitet: Ridwan Alam am 19 Dez. 2019
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

Akzeptierte Antwort

Ridwan Alam
Ridwan Alam am 18 Dez. 2019
plot(digraph(o,d,[],24))
  2 Kommentare
Nathalia Wolf
Nathalia Wolf am 18 Dez. 2019
thank you!
Ridwan Alam
Ridwan Alam am 18 Dez. 2019
Bearbeitet: Ridwan Alam am 19 Dez. 2019
Sure. Glad to help.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Networks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by