block diagonal representation
Version 1.0.0.0 (2,07 ko) par
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.
Citation pour cette source
David Holdaway (2026). block diagonal representation (https://fr.mathworks.com/matlabcentral/fileexchange/36142-block-diagonal-representation), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2012a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Operating on Diagonal Matrices dans Help Center et MATLAB Answers
Tags
Remerciements
A inspiré : mat2blk
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
