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 Solvers55
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15808 Solvers
-
296 Solvers
-
Matrix indexing with two vectors of indices
781 Solvers
-
451 Solvers
-
Let's get back to school, and create multiplication tables
241 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!