Cody

Problem 43334. Solve the system of linear equations

Created by Jang geun Choi in Community
4x - 2y  +6z=8
2x + 8y  +2z=4
6x + 10y +3z=0

Input is each coefficient of polynomial. For example,

a=[4 -2 6 8;2 8 2 4;6 10 3 0]

Find x,y,z. Output should be

 b=[x;y;z]

Solution Stats

70.37% Correct | 29.63% Incorrect
Last solution submitted on Jun 07, 2018

Problem Comments

Recent Solvers35

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

MATLAB Academy

New to MATLAB?

Learn MATLAB today!