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.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 5 de Oct. de 2018
Editada: KSSV el 5 de Oct. de 2018

5 comentarios

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 el 8 de Oct. de 2018
Editada: Isaac Osei Agyemang el 8 de Oct. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Graph and Network Algorithms en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by