LU factorization for 3d matrix
조회 수: 9 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
답변 (1개)
John D'Errico
2015년 3월 23일
Convert it to a sparse block diagonal system. Then use backslash. No problem.
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear Algebra에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!