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

9 次查看(过去 30 天)
How to solve Ax=b
Where and b=

采纳的回答

Matt J
Matt J 2020-11-16
编辑:Matt J 2020-11-16
  3 个评论
Matt J
Matt J 2020-11-16
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 2020-11-16
编辑:Bruno Luong 2020-11-16
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).

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Operating on Diagonal Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by