Inverse of a singular matrix
31 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Vishnu Kuruppath
on 26 May 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
0 Comments
See Also
Categories
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!