Clear Filters
Clear Filters

How inv() works ?

11 views (last 30 days)
Murat Bademlioglu
Murat Bademlioglu on 19 Sep 2022
Moved: Matt J on 19 Sep 2022
I am trying several methods to achieve best results for both accuracy and calculation time wise for different size and loop of matrices. However I couldn't find a document for how inv() function implemented in matlab itself works.

Answers (1)

Stephen23 on 19 Sep 2022
Moved: Matt J on 19 Sep 2022
The INV documentation states "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)"


Find more on Linear Algebra in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!