How can I solve this equation in MATLAB

1 view (last 30 days)
Ezgi
Ezgi on 3 Apr 2014
x2=x4+x6
x4=x2+x6
x6=x2+x4
I have these system equations. How can I solve them?
  2 Comments
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh on 3 Apr 2014
Would you please write your equation or series of equations in a more mathematical way and in seperate lines please. It shouldn' be had to solve this as it seems.
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh on 3 Apr 2014
What's this?!! 2=8 !! and 4=8 ?!!! 6=8 !!!
I don't get it!

Sign in to comment.

Answers (1)

Grzegorz Knor
Grzegorz Knor on 3 Apr 2014
Use mldivide operator to solve systems of linear equations of type Ax = b:
In your case:
A = [1 -1 -1; -1 1 -1; -1 -1 1]
b = [0;0;0]

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!