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

 채택된 답변

Fabio Freschi
Fabio Freschi 2020년 1월 4일
편집: Fabio Freschi 2020년 1월 4일
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);
vpa(S.x)
vpa(S.y)
Or double if you accept a double result
double(S.x)
double(S.y)

추가 답변 (0개)

카테고리

태그

질문:

2020년 1월 4일

댓글:

2020년 1월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by