Given an adjacency matrix of a simple undirected graph, find the number of connected components.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers59
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3072 Solvers
-
470 Solvers
-
Make a run-length companion vector
663 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
978 Solvers
-
find the surface area of a cube
575 Solvers
More from this Author44
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!