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=![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/415278/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/415273/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/415278/image.png)
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 で Operating on Diagonal Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!