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.

Solution Stats

1807 Solutions

419 Solvers

Last Solution submitted on Jul 16, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers419

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!