> help getMatrixOverlap
Prcntg = GetMatrixOverlap(C1,C2)
Given 2 Community Matrices (each one obtained using getCommunityMatrix.m),
the code returns the percentage of overlap between the two community partitions.
The two matrices are first binarized (due to the fact that communities here are
non-overlapping),then the percentage is calculated.
C1,C2 : Community Matrices, each one <N x N>
Prcntg : Percentage of overlap between the partitions in C1 and C2
Ruggero G. Bettinardi (2023). getMatrixOverlap(C1,C2) (https://www.mathworks.com/matlabcentral/fileexchange/62986-getmatrixoverlap-c1-c2), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!