Inverse of a singular matrix

31 次查看(过去 30 天)
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.

回答(1 个)

Vishnu Kuruppath
Vishnu Kuruppath 2020-5-26
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

类别

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