You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
B=largestcomponent(A)
This function find the largest connected component of a networks.
Input A is the adjacency matrix of the network.
Output B is a list of the nodes that are in the largest component.
A(B,B) will give the adj. matrix of the largest component.
Cite As
Puck Rombach (2026). Largest Component (https://www.mathworks.com/matlabcentral/fileexchange/30926-largest-component), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.4.0.0 (1.22 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
