What is the inversion method used in (inv) function in MATLAB
9 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Sindar
2020 年 2 月 12 日
"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 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!