Random weighted adjacency matrix in a graph

12 vues (au cours des 30 derniers jours)
Saber
Saber le 3 Fév 2013
I would like to create a random adjacency matrix such that the total sum of weight is equal to the number of edges. Finally find the Laplacian matrix using
L = diag(sum(A)) - A
and then graph it. Is there any way to do so?

Réponses (0)

Catégories

En savoir plus sur Graph and Network Algorithms dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by