Skip to content

Latest commit

 

History

History
1 lines (1 loc) · 425 Bytes

README.md

File metadata and controls

1 lines (1 loc) · 425 Bytes

The function generateRandomConnectedGraph generates a random undirected connected graph with a user-specified parameter that coarsely controls the graph's sparsity. The function also provides the graph Laplacian matrix. The function can be useful when evaluating algorithms for control and optimization of multi-agent/distributed systems. The script RandomConnectedGraph contains the function, along with an example.