Generating a network given in-degree and out-degree data.
3 views (last 30 days)
Show older comments
I have a set of nodes, and their associated in-degree and out-degree data. How would I go about randomly connecting them with the above constraints?
I'm thinking that creating an adjacency matrix would be the best way to keep track. Such that the sum of the rows/columns would give the in- and out-degrees of nodes?
How would I set this up?
0 Comments
Answers (0)
See Also
Categories
Find more on Graph and Network Algorithms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!