What are the steps to solve the following system of linear equations using MATLAB: 2x-3y+4z=5 ; y+4z+x=10 ;-2z+3x+4y=0?



% Organize the x,y,z coefficients into a 3x3 matrix
A = [2, -3, 4; 1, 4, 1; -2, 3, 4];
% Organize the constants into a 3x1 vector
b = [5; 10; 0];
% Note the system is in now in the form At = b where t = [x; y; z]
% Solve for t using gaussian elimination
t = A\b;