Borrar filtros
Borrar filtros

Possible issues with solving iterative linear systems with mldivide

1 visualización (últimos 30 días)
David Holler
David Holler el 25 de Mzo. de 2024
Respondida: Bruno Luong el 25 de Mzo. de 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.

Respuestas (1)

Bruno Luong
Bruno Luong el 25 de Mzo. de 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.

Categorías

Más información sobre Linear Algebra en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by