LU factorization for 3d matrix

조회 수: 9 (최근 30일)
rengell
rengell 2015년 3월 23일
댓글: rengell 2015년 3월 24일
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일
Convert it to a sparse block diagonal system. Then use backslash. No problem.
  댓글 수: 1
rengell
rengell 2015년 3월 24일
I will try that. Thanks!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by