Error using root on complex polinomial
2 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
KALYAN ACHARJYA
on 1 Jun 2019
Edited: KALYAN ACHARJYA
on 1 Jun 2019
Its roots not root
Pass single variable roots(p)
See Also
Categories
Find more on Polynomials in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!