필터 지우기
필터 지우기

what does A/b mean when solving matrix Ax=b

조회 수: 5 (최근 30일)
Marisa
Marisa 2023년 12월 11일
답변: Walter Roberson 2023년 12월 11일
A/b

답변 (3개)

Steven Lord
Steven Lord 2023년 12월 11일
The \ operator (mldivide function) solves for x in A*x = b.
The / operator (mrdivide function) solves for x in x*A = b.

Voss
Voss 2023년 12월 11일

Walter Roberson
Walter Roberson 2023년 12월 11일
If you have A*x = b then x = A\b is very likely what you need
But if for some reason you want to know what meaning A/b would have in that situation, then:
If A*x = b then A*x*pinv(x) ~~ b*pinv(x) . But A*x*pinv(x) ~~ A because x*pinv(x) ~~ identity matrix. So A*x*pinv(x) ~~ b*pinv(x) ==> A ~~ b*pinv(x) .
Now right-mutiply both sides by pinv(b) to get A*pinv(b) ~~ b*pinv(x)*pinv(b)
Now A*pinv(b) is expressible in MATLAB as A/b, so A/b ~~ b*pinv(x)*pinv(b)
Unfortunately for unknown x that does not get you anywhere useful... except that there are some restricted cases in which pinv(x)*pinv(b) == pinv(b)*pinv(x) and if you just happened to fall into one of those then A/b ~~ pinv(x)
But in practice there is seldom a useful relationship between A/b and A\b. Most of the time you cannot even do both operations due to the restrictions on the column dimensions that \ and / have.
There are however relationships between the operators. According to the Tips,
The operators / and \ are related to each other by the equation B/A = (A'\B')'

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by