Solve linear system involving a block tridiagonal matrix

Hi.
I would like to solve the linear system AU=G as fast as possible in MATLAB. The matrix A is a block tridiagonal matrix, stored as spdiags(). The blocks on the diagonal are tridiagonal, and they change as one moves downward in A. The other blocks are identity matrices. G is a sparse vector stored as sparse(). Does anyone know how to solve this system as quickly as possible in MATLAB?
Thanks.

답변 (1개)

Star Strider
Star Strider 2014년 4월 6일

0 개 추천

You did not mention what you had already tried, so I suggest the lsqr and related sparse matrix functions. (There are links to them at the end of that page.)

카테고리

도움말 센터File Exchange에서 Operating on Diagonal Matrices에 대해 자세히 알아보기

질문:

2014년 4월 6일

답변:

2014년 4월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by