How to solve Ax=b where A is a rectangular matrix for higher order in matlab
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Boni_Pl
am 16 Nov. 2020
Bearbeitet: Bruno Luong
am 16 Nov. 2020
How to solve Ax=b
Where
and b=
and b=
0 Kommentare
Akzeptierte Antwort
Matt J
am 16 Nov. 2020
Bearbeitet: Matt J
am 16 Nov. 2020
x=A\b
3 Kommentare
Matt J
am 16 Nov. 2020
A\b will give an exact solution if an exact solution exists. It doesn't matter if A and b are complex.
Bruno Luong
am 16 Nov. 2020
Bearbeitet: Bruno Luong
am 16 Nov. 2020
In any case A\b provides x "a" least-square solution, i.e., it minimizes
norm(A*x-b).
If solution exists then the minimum is 0, meaning A*x matches exactly b (up to numerical precision error).
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear Algebra 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!