MATLAB Answers

constantly receiving an error undefined function or variable z when use solve

1 view (last 30 days)

Accepted Answer

Fabio Freschi
Fabio Freschi on 4 Jan 2020
Edited: Fabio Freschi on 4 Jan 2020
Polynomials with a degree greater than 4 do not have explicit solutions. You can use vpa
syms x y
f1 = y == x^3
f2 = x^2+y^2==1;
S = solve([f1, f2],x,y);
Or double if you accept a double result

More Answers (0)

Community Treasure Hunt

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

Start Hunting!