Largest Component

Takes an adj. matrix of a network and outputs a list of the nodes in its largest connected component

Download
Download

You are now following this Submission

Cite As

Puck Rombach (2026). Largest Component (https://au.mathworks.com/matlabcentral/fileexchange/30926-largest-component), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Graph and Network Algorithms in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.4.0

Fixed bug about multiple largest components.

Download
1.1.0

Made the code faster by not using the 'find' function.

Download
1.0.0

Download