how do you find solutions of this marix equation using matlab 2019

1 次查看(过去 30 天)
how to find solutions of this matrix using matlab 2019.
Ax = b
A = [3.8 -7.8;8.4 -16.8;-12.9 -41.4]
b = [1.3;2.8;-4.3]

采纳的回答

Rik
Rik 2020-2-25
Let's first do some algebra, and then solve it with a oneliner:
%{
Ax = b
A\Ax = A\b (A\A = 1)
x = A\b
%}
A = [3.8 -7.8;8.4 -16.8;-12.9 -41.4];
b = [1.3;2.8;-4.3];
x=A\b

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by