Effacer les filtres
Effacer les filtres

Sparse matrix calculate warning: Matrix is close to singular or badly scaled.

5 vues (au cours des 30 derniers jours)
Benyang Hu
Benyang Hu le 25 Mar 2022
I am using two around 9 million sparse matrix to do a sample calculation. MATLAB is giving me this warning. How should I correct this?
>> displacement = K_matrix_sys\F_matrix;
Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 1.326659e-16.
K_matrix_sys is sysmetric matrix, F_matrix is same size array. How should I fix this? Where should I start to check with?
  2 commentaires
Walter Roberson
Walter Roberson le 25 Mar 2022
what does sprank() report for the matrix?
Benyang Hu
Benyang Hu le 25 Mar 2022
report a number 9480516. This is the size of matrix

Connectez-vous pour commenter.

Réponses (1)

Mohammed Hamaidi
Mohammed Hamaidi le 26 Mar 2022
You don't have to correct any thing.
The matrix is ​​close to singular (the determinant close to zero)
Matlab indicate that Results may be inaccurate.
The problem is in the matrix itself

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by