version (7.39 KB) by Marcin Konowalczyk
Block-diagonalise a matrix


Updated Tue, 11 Jul 2017 19:30:25 +0000

View License

This function identifies equivalence classes within the graph defined by the (sparse) matrix A. Off diagonal matrix elements, Aij, which exceed the value of 'lim' are taken to establish an equivalence relation between the components i and j.

Cite As

Marcin Konowalczyk (2022). mat2blk (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: block diagonal representation

Community Treasure Hunt

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

Start Hunting!