block diagonal representation
Versión 1.0.0.0 (2.07 KB) por
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.
Citar como
David Holdaway (2024). block diagonal representation (https://www.mathworks.com/matlabcentral/fileexchange/36142-block-diagonal-representation), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2012a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Operating on Diagonal Matrices en Help Center y MATLAB Answers.
Etiquetas
Agradecimientos
Inspiración para: mat2blk
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |