How do i calculate the inverse of a non-square matrix?
111 次查看(过去 30 天)
显示 更早的评论
I have a 4x3 matrix(S) and i want to calculate the inverse of it, the matrix is:
S=
1.7530 0 0 0
0 0.1009 0 0
0 0 0.0149 0
but since it is not a square matrix when i use S^-1 it says i have to use elemental wise power. The problem is when i use elemental-wise power the zeros go to 'Inf' so what do i do?
0 个评论
采纳的回答
James Tursa
2018-4-24
Typically one would use backslash \ or perhaps pinv( ) for this. What are you using this for? I.e., what is the problem you are solving and what are you doing with the result downstream in your code?
3 个评论
Mohammed Altaher
2019-2-19
Is pinv() used here to find the inverse of non square matrix such as 6X5 Jacobian matrix?
Nirajan Khatri
2020-11-24
@James Tursa sir why we use pinv(), i have 1*2000 matrix and i also want to find its inverse
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Descriptive Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!