How to solve Ax=b where A is a rectangular matrix for higher order in matlab
2 次查看(过去 30 天)
显示 更早的评论
How to solve Ax=b
Where and b=
0 个评论
采纳的回答
Matt J
2020-11-16
编辑:Matt J
2020-11-16
x=A\b
3 个评论
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
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 Center 和 File Exchange 中查找有关 Mathematics and Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!