How do i calculate the inverse of a non-square matrix?

158 vues (au cours des 30 derniers jours)
Feliciano Döring
Feliciano Döring le 24 Avr 2018
Commenté : Nirajan Khatri le 24 Nov 2020
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?

Réponse acceptée

James Tursa
James Tursa le 24 Avr 2018
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 commentaires
Mohammed Altaher
Mohammed Altaher le 19 Fév 2019
Is pinv() used here to find the inverse of non square matrix such as 6X5 Jacobian matrix?
Nirajan Khatri
Nirajan Khatri le 24 Nov 2020
@James Tursa sir why we use pinv(), i have 1*2000 matrix and i also want to find its inverse

Connectez-vous pour commenter.

Plus de réponses (1)

Sourabh Guduru
Sourabh Guduru le 8 Sep 2020
pinv(a)

Catégories

En savoir plus sur Linear Algebra dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by