Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 423. System of equations

Created by Tom

Find a solution to a system of equations represented by a n by n+1 matrix. For instance,

 [ 2 0 4;   =>   2*x = 4 
   2 4 8 ]       2*x + 4*y = 8

Therefore, when given a=[2 0 4; 2 4 8] you should return a vector of solutions, v = [ 2 1 ]. Assume the system will always have a solution.

Problem Group

Solution Statistics

79 correct solutions 147 incorrect solutions
Last solution submitted on Nov 02, 2014

Problem Comments

Solution Comments