Changing node connections periodically in complex graph

Please can someone help me out with this problem. I have a complex network with unequal degrees, what i want to do is periodically change the node connections which should be visible to. Exg, assuming at t1 node A had degree of 3 and as time increases to t10, i want node A to have a different degree, say 5.

 채택된 답변

Walter Roberson
Walter Roberson 2018년 10월 5일
편집: KSSV 2018년 10월 5일

0 개 추천

댓글 수: 5

Please the link is not working
Do you mean that you get an error message when you click on that link? Or do you mean that addedge() and rmedge() are not working for you?
Isaac Osei Agyemang
Isaac Osei Agyemang 2018년 10월 8일
편집: Isaac Osei Agyemang 2018년 10월 8일
Well I got the link to work now, but my problem is not completly solved. I want ot simulate visually the changing of the node connections in the graph. I've attached a sample graph of the complex network i have.
You would call plot again on the updated graph object. Remember the drawnow if you doing this in a loop.
Thank you all.

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

추가 답변 (0개)

카테고리

도움말 센터File 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