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 Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by