How to solve Ax=b where A is a rectangular matrix for higher order in matlab
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
How to solve Ax=b
Where and b=
0 Commenti
Risposta accettata
Matt J
il 16 Nov 2020
Modificato: Matt J
il 16 Nov 2020
x=A\b
3 Commenti
Matt J
il 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
il 16 Nov 2020
Modificato: Bruno Luong
il 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).
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Mathematics and Optimization in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!