A=[4 -2 -10;2 10 -12;-4 -6 16]; B=[-10 32 -16]'; x=A\B
x = 2.0000 4.0000 1.0000
Published with MATLAB® R2014a