필터 지우기
필터 지우기

What is the inversion method used in (inv) function in MATLAB

조회 수: 9 (최근 30일)
Nurulhuda Ismail
Nurulhuda Ismail 2020년 2월 12일
답변: Sindar 2020년 2월 12일
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?

채택된 답변

Sindar
Sindar 2020년 2월 12일
read the documentation:
"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개)

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by