Error using root on complex polinomial

조회 수: 11 (최근 30일)
DANIEL MARTIN
DANIEL MARTIN 2019년 6월 1일
댓글: DANIEL MARTIN 2019년 6월 1일
Hi everyone,
I got this error message and i can't figure it out, tryed a few times with different equations
z=x^2-1
works, but the following isn't working
syms x;
z=x^3+2*abs(x^2);
r=root(z,x);
Error using mupadengine/feval (line 163)
The first argument must be a polynomial or polynomial expression.
Error in sym/root (line 36)
r = feval(symengine, 'RootOf', f, x);
I've got to use the R2015b version since it's the last 32bit build

답변 (1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 6월 1일
편집: KALYAN ACHARJYA 2019년 6월 1일
Its roots not root
Pass single variable roots(p)
  댓글 수: 1
DANIEL MARTIN
DANIEL MARTIN 2019년 6월 1일
Using roots and passing only z it returns a 0x1 sym variable, does it means there ar no roots for that equation?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Polynomials에 대해 자세히 알아보기

제품


릴리스

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by