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.

 Réponse acceptée

Walter Roberson
Walter Roberson le 5 Oct 2018
Modifié(e) : KSSV le 5 Oct 2018

0 votes

5 commentaires

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 le 8 Oct 2018
Modifié(e) : Isaac Osei Agyemang le 8 Oct 2018
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Graph and Network Algorithms dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by