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.

 Risposta accettata

Walter Roberson
Walter Roberson il 5 Ott 2018
Modificato: KSSV il 5 Ott 2018

5 Commenti

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?
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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Graph and Network Algorithms in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by