Borrar filtros
Borrar filtros

Inverse of a singular matrix

25 visualizaciones (últimos 30 días)
Maria Dolores Benavides Ibañez
Maria Dolores Benavides Ibañez el 23 de Mayo de 2020
Respondida: Vishnu Kuruppath el 26 de Mayo de 2020
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.

Respuestas (1)

Vishnu Kuruppath
Vishnu Kuruppath el 26 de Mayo de 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

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