LU factorization for 3d matrix

Hello,
I would need to solve P linear systems if possible without using loops. I was thinking about LU factorization which in my case is quite fast. I know how to approach the problem for a 2d matrix. But what should i do for the case of a 3d matrix M(N,N,:)?
thanks in advance!

답변 (1개)

John D'Errico
John D'Errico 2015년 3월 23일

0 개 추천

Convert it to a sparse block diagonal system. Then use backslash. No problem.

카테고리

질문:

2015년 3월 23일

댓글:

2015년 3월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by