MATLAB: Solving a system of linear equations question.

linear algebra

[EDIT: Wed Jun 15 04:15:02 UTC 2011 – Reformat – MKF]
hey . how i solve this linear equations (ODE) in matlab
x+y-2=-2z
3x+z=y+6
x+3y+4z-4=0

Best Answer

[1 1 2;3 -1 1; 1 3 4]\[-2;6;4]