Force nodes to my graph

조회 수: 5 (최근 30일)
Nathalia Wolf
Nathalia Wolf 2019년 12월 18일
편집: Ridwan Alam 2019년 12월 19일
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

채택된 답변

Ridwan Alam
Ridwan Alam 2019년 12월 18일
plot(digraph(o,d,[],24))
  댓글 수: 2
Nathalia Wolf
Nathalia Wolf 2019년 12월 18일
thank you!
Ridwan Alam
Ridwan Alam 2019년 12월 18일
편집: Ridwan Alam 2019년 12월 19일
Sure. Glad to help.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by