mat2blk

Block-diagonalise a matrix

You are now following this Submission

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 (2026). mat2blk (https://www.mathworks.com/matlabcentral/fileexchange/60786-mat2blk), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: block diagonal representation

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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