Singular Matrices: Is the Matlab algorithm for CONDITON NUMBER always stable ?
3 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Richard Brown
2019-11-7
The algorithm for condition number uses the SVD, not LU factorisation and is perfectly stable.
1 个评论
John D'Errico
2019-11-7
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!