Block Tri-diagonal Matrix

조회 수: 28 (최근 30일)
Neeladri Sekhar Bera
Neeladri Sekhar Bera 2020년 7월 11일
편집: John D'Errico 2020년 7월 11일
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?

채택된 답변

John D'Errico
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개)

카테고리

Help CenterFile Exchange에서 Operating on Diagonal Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by