Devil's Night

Solve simultaneous equations with multi unknowns by Matlab

by FOX on 04:49 PM, under Mathematics

I just happened to find that today
Assume you have following equations:

  • x+y = 2
  • y+z = 2
  • z+x = 2

These 3 equations yields out that:

  • x = 1
  • y = 1
  • z = 1

To solve these or more complex ones than these, Just enter following code in Matlab

[x,y,z] = solve ('(x+y)=(2)', '(y+z)=(2)','(z+x)=(2)','x,y,z')

Leave rest of the work to your computer.

:

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you are looking for? Drop a comment on a post or contact me so I can take care of it!

Visit my friends

A few highly recommended friends...