block diagonal representation

Converts a matrix into a cell array of different sized matrices that make up the blocks.

You are now following this Submission

Essentially if one has a matrix M that they wish to store more efficiently in memory/use for function bldiagmult.m (same author), then use
cellform = blkdiagconv( M );
this is such that using the inbuilt Matlab function one has
M == blkdiag(cellform{:})
it is essentially the inverse function to blkdiag.

Cite As

David Holdaway (2026). block diagonal representation (https://in.mathworks.com/matlabcentral/fileexchange/36142-block-diagonal-representation), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: mat2blk

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0