The fastest way to check if a sparse matrix is singular or not?
조회 수: 10 (최근 30일)
이전 댓글 표시
Dear All,
For a large sparse matrix A, how can I check in a fastest way if matrix A is singluar or not? The matrix has a dimension of 6000 x 6000. I know lu is fast, but I need to repeat this calculations many times for different matrix A.
Thanks a lot in advance.
Beson
댓글 수: 0
채택된 답변
Matt J
2019년 4월 12일
condest(A)
댓글 수: 2
Matt J
2019년 4월 13일
편집: Matt J
2019년 4월 13일
The condition number calculated by condest measures how much error magnification you get when you try to invert the matrix when solving a linear equation
The "threshold" that you are pursuing would be determined from the amount of error magnification that your specific application can tolerate (note that it is not possible to have zero error magnification). If the error magnification is greater than what you can tolerate, you would consider the matrix "singular".
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!