You are on page 1of 1

MATLAB

>> a= [2 1 1;4 1 0;-2 2 1]

a=
2

-2

>> b= [1;-2;7]

b=
1
-2
7

>> a\b

ans =

-1.0000

2.0000

1.0000

You might also like