getMatrixOverlap(C1​,C2)

Overlap percentage between 2 community matrices

You are now following this Submission

> 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://se.mathworks.com/matlabcentral/fileexchange/62986-getmatrixoverlap-c1-c2), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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