Possible issues with solving iterative linear systems with mldivide

5 ビュー (過去 30 日間)
David Holler
David Holler 2024 年 3 月 25 日
回答済み: Bruno Luong 2024 年 3 月 25 日
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 Center および File ExchangeLinear Algebra についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by