What is the inversion method used in (inv) function in MATLAB
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Nurulhuda Ismail
le 12 Fév 2020
Réponse apportée : Sindar
le 12 Fév 2020
Hi,
I use inv function in my code to solve a square matrix inversion and a lower triangular matrix inversion. May I know what is the inversion method used in MATLAB to solve this inversion?
0 commentaires
Réponse acceptée
Sindar
le 12 Fév 2020
"inv performs an LU decomposition of the input matrix (or an LDL decomposition if the input matrix is Hermitian). It then uses the results to form a linear system whose solution is the matrix inverse inv(X). For sparse inputs, inv(X) creates a sparse identity matrix and uses backslash, X\speye(size(X))."
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Linear Algebra 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!