How to solve Ax=b where A is a rectangular matrix for higher order in matlab

4 vues (au cours des 30 derniers jours)
How to solve Ax=b
Where and b=

Réponse acceptée

Matt J
Matt J le 16 Nov 2020
Modifié(e) : Matt J le 16 Nov 2020
  3 commentaires
Matt J
Matt J le 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
Bruno Luong le 16 Nov 2020
Modifié(e) : Bruno Luong le 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).

Connectez-vous pour commenter.

Plus de réponses (0)

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