LU factorization for 3d matrix
Mostra commenti meno recenti
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!
Risposte (1)
John D'Errico
il 23 Mar 2015
0 voti
Convert it to a sparse block diagonal system. Then use backslash. No problem.
1 Commento
rengell
il 24 Mar 2015
Categorie
Scopri di più su Linear Algebra in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!