Effacer les filtres
Effacer les filtres

The fastest way to check if a sparse matrix is singular or not?

2 vues (au cours des 30 derniers jours)
Benson Gou
Benson Gou le 12 Avr 2019
Modifié(e) : Matt J le 13 Avr 2019
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

Réponse acceptée

Matt J
Matt J le 12 Avr 2019
  2 commentaires
Benson Gou
Benson Gou le 13 Avr 2019
@Matt. Thanks for your reply. But I think there must be a threshold to judge if martrix A is singular or not. How to decide the threshold? Thanks.
Matt J
Matt J le 13 Avr 2019
Modifié(e) : Matt J le 13 Avr 2019
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".

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Sparse Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by