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!