Solve systems of linear equations Ax = B for x
显示 更早的评论
x = A\B solves the system of linear equations A*x = B. The matrices A and B must have the same number of rows.
But ,what is the operation between the rows?
There is any one can solve this example–manually ?
A =
1 3
4 2
b= [6 ;7];
>> A\b
ans =
0.9000
1.7000
How to find 0.9 and 1.7 exactly?
采纳的回答
更多回答(2 个)
KALYAN ACHARJYA
2019-8-29
编辑:KALYAN ACHARJYA
2019-8-29
ans =
0.9000
1.7000
How to find 0.9 and 1.7 exactly??
format shortg;
A =[1 3
4 2];
b= [6 ;7];
A\b
Result:
ans =
0.9
1.7
Torsten
2019-8-29
0 个投票
https://en.wikipedia.org/wiki/Cramer%27s_rule
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Algebra 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!