Given
A =\left[\begin{aligned}1&&3&&10 \\2&&3&&6\\4&&6&&8\end{aligned}\right] and b = [10; 12; 20]
Find the x vector.
>> A= [1 3 10; 2 3 6; 4 6 8]; b=[10; 12; 20];
>> x=inv(A)*b
x =
6
-2
1
Alternately
>> x=A\b