block diagonal representation
バージョン 1.0.0.0 (2.07 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 |