How to interprete output of solve function ?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello, I'm trying to solve with math tool box a non liner equation :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/316740/image.png)
with the code
syms x
solve ( x^2-(1+x)^2 + x^2*(1+x)^2 )
The output I can't understand is :
root(z^4 + 2*z^3 + z^2 - 2*z - 1, z, 1)
root(z^4 + 2*z^3 + z^2 - 2*z - 1, z, 2)
root(z^4 + 2*z^3 + z^2 - 2*z - 1, z, 3)
root(z^4 + 2*z^3 + z^2 - 2*z - 1, z, 4)
How shoul I interpret this ? I would like somthing more like a numeric root but maybe the problem is with the equation itself?
댓글 수: 0
채택된 답변
madhan ravi
2020년 6월 15일
편집: madhan ravi
2020년 6월 15일
syms x
double(solve ( x^2-(1+x)^2 + x^2*(1+x)^2 , 'MaxDegree', 4))
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!