Possible issues with solving iterative linear systems with mldivide

2 次查看(过去 30 天)
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.

回答(1 个)

Bruno Luong
Bruno Luong 2024-3-25
"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.

类别

Help CenterFile Exchange 中查找有关 Elementary Math 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by