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 (2023). 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!
Version Published Release Notes

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