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.
0 件のコメント
回答 (1 件)
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
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!