How to solve Ax=b where A is a rectangular matrix for higher order in matlab
조회 수: 3 (최근 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!