mat2blk

Block-diagonalise a matrix
63 Downloads
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 (2024). mat2blk (https://www.mathworks.com/matlabcentral/fileexchange/60786-mat2blk), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Sparse Matrices in Help Center and MATLAB Answers
Acknowledgements

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
1.3.1.0

Changed the title so that it does not include the arguments

1.3.0.0

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

1.2.0.0

Corrected documentation typo

1.1.0.0

Now stores blocks as full matrices

1.0.0.0