getMatrixOverlap(C1​,C2)

Overlap percentage between 2 community matrices
22 Downloads
Updated 16 May 2017

View License

> 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 (2024). getMatrixOverlap(C1,C2) (https://www.mathworks.com/matlabcentral/fileexchange/62986-getmatrixoverlap-c1-c2), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Test and Measurement in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0