Singular Matrices: Is the Matlab algorithm for CONDITON NUMBER always stable ?

3 visualizaciones (últimos 30 días)
Their documentation says that their algorithm for determinants can be unstable because of problems with LU factorization.
Their documenatio for cindition number - COND - does not mention stability problems, even though some algorithms use LU factorization I believe.

Respuestas (1)

Richard Brown
Richard Brown el 7 de Nov. de 2019
The algorithm for condition number uses the SVD, not LU factorisation and is perfectly stable.
  1 comentario
John D'Errico
John D'Errico el 7 de Nov. de 2019
Yes. As well, there are very few cases where you really want to use det for anything anyway. You certainly never want to use it to determine the singularity of a matrix, despite what they always teach students in class.

Iniciar sesión para comentar.

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by