how to solve system of non linear equations with three different variables?

3 views (last 30 days)
sudeshna das
sudeshna das on 8 Feb 2017
Edited: Walter Roberson on 14 Feb 2017

Answers (1)

Hannes Daepp
Hannes Daepp on 14 Feb 2017
You can use "solve" to find solutions for systems of equations. For example,
>> syms x y
>> [x_ans, y_ans] = solve(x + y == 9, y-x == 1)
x_ans =
y_ans =
The documentation offers more detail on the function, as well as several useful links for approaching equations solving, e.g.:

Community Treasure Hunt

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

Start Hunting!