Borrar filtros
Borrar filtros

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

9 visualizaciones (últimos 30 días)
Nurulhuda Ismail
Nurulhuda Ismail el 12 de Feb. de 2020
Respondida: Sindar el 12 de Feb. de 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?

Respuesta aceptada

Sindar
Sindar el 12 de Feb. de 2020
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))."

Más respuestas (0)

Categorías

Más información sobre Linear Algebra en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by