File Exchange

image thumbnail


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


Updated 11 Jul 2017

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 (2020). mat2blk (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)


Changed the title so that it does not include the arguments

Updated docstring - now gives more information about about how to invert the permutation of A

Corrected documentation typo

Now stores blocks as full matrices

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

Inspired by: block diagonal representation