Solve the system of equations

Solve the system of equations
[1 2 0 0
4 3 -6 0
0 5 -1 9
0 0 7 7]
x= 1
2
0
0

 Accepted Answer

A=[1 2 0 0
4 3 -6 0
0 5 -1 9
0 0 7 7];
b=[1;2;0;0];
since
det(A)==0
=
0
the operator
\
can also be used
x=A\b
x =
0.500000000000000
0.250000000000000
0.125000000000000
-0.125000000000000
if you find this answer useful would you please be so kind to mark my answer as Accepted Answer?
To any other reader, please if you find this answer of any help solving your question,
please click on the thumbs-up vote link,
thanks in advance
John BG

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

No tags entered yet.

Asked:

on 13 Feb 2017

Answered:

on 13 Feb 2017

Community Treasure Hunt

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

Start Hunting!