Modularity

Modularity for undirected/directed, unweighted/weighted networks

You are now following this Submission

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://nl.mathworks.com/matlabcentral/fileexchange/82018-modularity), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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