Possible issues with solving iterative linear systems with mldivide

1 Ansicht (letzte 30 Tage)
David Holler
David Holler am 25 Mär. 2024
Beantwortet: Bruno Luong am 25 Mär. 2024
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.

Antworten (1)

Bruno Luong
Bruno Luong am 25 Mär. 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.

Kategorien

Mehr zu Elementary Math finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by