Inverse of a singular matrix

28 vues (au cours des 30 derniers jours)
Maria Dolores Benavides Ibañez
Hi!
I need to do de inverse of the matrix for my aplication in Simulink, however it doesn't work because the matix is singular.
The output shold be a [2x2] matrix and it shows dimension 1.
I don't know what I can do.
I tried pinv, but the same error keep occuring.
Thanks for your time.

Réponses (1)

Vishnu Kuruppath
Vishnu Kuruppath le 26 Mai 2020
Hi Maria,
I understand that you are trying to compute the inverse of a singular matrix. A matrix is singular when it has no inverse.
When you try to compute the inverse of a singular matrix, it gives different values in different versions of MATLAB. This occurs due to the different Math Kernel Library(MKL) used in different versions of MATLAB. MathWorks update the MKL in new MATLAB releases. The result of matrix operations may be slightly different on different releases of MATLAB.
Please refer the link below to know more about inv function.
Thanks,
Vishnu Kuruppath

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!

Translated by