Solve the system of linear equations - MATLAB Cody - MATLAB Central

Problem 43334. Solve the system of linear equations

Difficulty:Rate
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

57.04% Correct | 42.96% Incorrect
Last Solution submitted on Dec 12, 2024

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Problem Recent Solvers75

Suggested Problems

More from this Author27

Community Treasure Hunt

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

Start Hunting!
Go to top of page