Solving large linear system of Ax=b while A is a non-square Matrix?
Show older comments
Hi,
I was using gmres to solve linear sysmtem Ax=b where A is a n*n large square matrix and b is n*1.
However, if A is m*n matrix where m>n that is least square case than can we use some iterative method like gmres (Generalized minimum residual method) or pcg (Preconditioned conjugate gradients method) type approach to solve it faster like for square case.
The basic goal is to solve large non-square matrix A faster for x.
Please help me with the matlab functions that handle this case?
Thanks
5 Comments
Walter Roberson
on 23 Oct 2019
\ operator handles this case. I do not recall at the moment what it calls for this case; qr() I think.
ZR
on 24 Oct 2019
Matt J
on 24 Oct 2019
Probably more accurate than GMRES, because it is non-iterative.
ZR
on 24 Oct 2019
ZR
on 25 Oct 2019
Accepted Answer
More Answers (0)
Categories
Find more on Sparse Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!