How to check graph connected or not for given adjacency matrix of graph
20 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How to check given undirected graph connected or not
0 comentarios
Respuestas (1)
Matt J
el 24 de Jul. de 2019
For example,
G = graph([1 1 4],[2 3 5],[1 1 1],6);
conncomp(G)
2 comentarios
Ver también
Categorías
Más información sobre Graph and Network Algorithms en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!