block diagonal representation
版本 1.0.0.0 (2.1 KB) 作者:
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.
引用格式
David Holdaway (2024). block diagonal representation (https://www.mathworks.com/matlabcentral/fileexchange/36142-block-diagonal-representation), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2012a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Operating on Diagonal Matrices 的更多信息
标签
致谢
启发作品: mat2blk
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |