Info

This question is closed. Reopen it to edit or answer.

question about linear simultaneous solutions

1 view (last 30 days)
JJ
JJ on 10 Mar 2012
Closed: MATLAB Answer Bot on 20 Aug 2021
I want to solve a system of linear simultaneous solutions but I don't want to turn into the matrix form. Is there any way to do that? For example,
x+y=1, x*y=10
how should I put these into mathlab

Answers (1)

Andrei Bobrov
Andrei Bobrov on 10 Mar 2012
syms x y
slv = solve(x+y-1,x*y-10,x,y)

Community Treasure Hunt

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

Start Hunting!