Block Tri-diagonal Matrix
28 ビュー (過去 30 日間)
古いコメントを表示
In the process of a solvng a system of coupled pdes I have finally got a block tri-diagonal matrix. How to write the whole matrix in MATLAB. Is there any built in function to write such kind of block tri-diagonal matrix?
0 件のコメント
採用された回答
John D'Errico
2020 年 7 月 11 日
編集済み: John D'Errico
2020 年 7 月 11 日
It may be your lucky day. Just download my blktridiag code from the file exchange.
It is designed to create a sparse block tridiagonal array, exactly what you will want.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Operating on Diagonal Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!