You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
k-clique algorithm as defined in the paper "Uncovering the overlapping community structure of complex networks in nature and society" - G. Palla, I. Derényi, I. Farkas, and T. Vicsek - Nature 435, 814–818 (2005)
[X,Y,Z] = k_clique(k,A)
Inputs:
k - clique size
A - adjacency matrix
Outputs:
X - detected communities
Y - all cliques (i.e. complete subgraphs that are not parts of larger complete subgraphs)
Z - k-clique matrix
Cite As
Anh-Dung Nguyen (2026). k-clique algorithm (https://www.mathworks.com/matlabcentral/fileexchange/34202-k-clique-algorithm), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.3.0.0 (2.68 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
