Block Tri-diagonal Matrix

9 vues (au cours des 30 derniers jours)
Neeladri Sekhar Bera
Neeladri Sekhar Bera le 11 Juil 2020
Modifié(e) : John D'Errico le 11 Juil 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?

Réponse acceptée

John D'Errico
John D'Errico le 11 Juil 2020
Modifié(e) : John D'Errico le 11 Juil 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.

Plus de réponses (0)

Catégories

En savoir plus sur Operating on Diagonal Matrices dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by