Possible issues with solving iterative linear systems with mldivide
2 views (last 30 days)
Show older comments
Hi,
I have a 62x62 coefficient matrix that remains constant, and the right-hand-side input vector gets updated non-linearly in a different part of the iteration. I'm using the mldivide shorthand to solve the system. I have verified the values in both the coefficient matrix and input vector. As I iterate, the solutions are pushed towards zero and converge at very small values (e.g., 10^-11 or 10^-39). The expected solution should be around 10^-2. Would anyone have any suggestions as to what's happening? Is there a way to see the matrix solver steps to see which expressions might have an issue?
Thank you for your time.
0 Comments
Answers (1)
Bruno Luong
on 25 Mar 2024
"Is there a way to see the matrix solver steps to see which expressions might have an issue?"
No they are LAPACK/BLAS based codes, developped in low language, higlly optimized, by highly skilled people and they resist to various tests since few dozen of years.
0 Comments
See Also
Categories
Find more on Elementary Math in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!