inv matrix command error
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Anthony Voccia
am 18 Okt. 2018
Kommentiert: Anthony Voccia
am 18 Okt. 2018
I am using a code my TA gave us to use for our lab report (had to edit some of his code to make it work so far) and he wants us to use the inv command and I have no experience with this. Any ideas on what to adjust to make it work?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192039/image.png)
5 Kommentare
Akzeptierte Antwort
James Tursa
am 18 Okt. 2018
Bearbeitet: James Tursa
am 18 Okt. 2018
Normally the inv is applied to the left hand side coefficients, since people usually write the "A" matrix on the left and the "b" vector on the right in an Ax=b linear system. So I am guessing you need to change the inv( ) calculation to this:
V = inv(LHS)*RHS;
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Operating on Diagonal Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!