block diagonal representation
Versione 1.0.0.0 (2,07 KB) da
David Holdaway
Converts a matrix into a cell array of different sized matrices that make up the blocks.
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.
Cita come
David Holdaway (2024). block diagonal representation (https://www.mathworks.com/matlabcentral/fileexchange/36142-block-diagonal-representation), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2012a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Operating on Diagonal Matrices in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato: mat2blk
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |