Block Tri-diagonal Matrix
13 views (last 30 days)
Show older comments
Neeladri Sekhar Bera
on 11 Jul 2020
Edited: John D'Errico
on 11 Jul 2020
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 Comments
Accepted Answer
John D'Errico
on 11 Jul 2020
Edited: John D'Errico
on 11 Jul 2020
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 Comments
More Answers (0)
See Also
Categories
Find more on Operating on Diagonal Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!