Modularity

Modularity for undirected/directed, unweighted/weighted networks
307 Downloads
Updated 29 Oct 2020

View License

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
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0