LU factorization for 3d matrix

9 vues (au cours des 30 derniers jours)
rengell
rengell le 23 Mar 2015
Commenté : rengell le 24 Mar 2015
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!

Réponses (1)

John D'Errico
John D'Errico le 23 Mar 2015
Convert it to a sparse block diagonal system. Then use backslash. No problem.
  1 commentaire
rengell
rengell le 24 Mar 2015
I will try that. Thanks!

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by