getMatrixOverlap(C1,C2)
> help getMatrixOverlap
call:
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.
INPUT
C1,C2 : Community Matrices, each one <N x N>
OUTPUT
Prcntg : Percentage of overlap between the partitions in C1 and C2
Cite As
Ruggero G. Bettinardi (2026). getMatrixOverlap(C1,C2) (https://www.mathworks.com/matlabcentral/fileexchange/62986-getmatrixoverlap-c1-c2), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
