block diagonal representation

Converts a matrix into a cell array of different sized matrices that make up the blocks.
243 Downloads
Aktualisiert 11. Apr 2012

Lizenz anzeigen

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.

Zitieren als

David Holdaway (2024). block diagonal representation (https://www.mathworks.com/matlabcentral/fileexchange/36142-block-diagonal-representation), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2012a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Operating on Diagonal Matrices finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert: mat2blk

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0