Modularity
Modularity function for undirected/directed, unweighted/weighted networks. Takes as inputs the network adjecency matrix A, which may be symmetric or non-symmetric and real-valued, and an integer vector g to specify the network partitioning. g(i) is the partition number of node i.
This method of representing communities is compatible with the matlabBGL package (https://it.mathworks.com/matlabcentral/fileexchange/10922-matlabbgl)
Take a look at:
Perrone, D. et al., Wall-induced anisotropy effects on turbulent mixing in channel flow: A network-based analysis, Phys. Rev. E 102, 043109, https://doi.org/10.1103/PhysRevE.102.043109
Additional references:
https://doi.org/10.1103/PhysRevE.70.056131
https://doi.org/10.1103/PhysRevLett.100.118703
https://doi.org/10.1088/1742-5468/2009/03/P03024
Cite As
Davide Perrone (2026). Modularity (https://www.mathworks.com/matlabcentral/fileexchange/82018-modularity), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
