I have a polynomial $f$ of order 15 and I want to find its roots.
For solve(f==0), the answer is Warning: Explicit solution could not be found.
What can I do to compute the roots?
I have a polynomial $f$ of order 15 and I want to find its roots.
For solve(f==0), the answer is Warning: Explicit solution could not be found.
What can I do to compute the roots?
Copyright © 2021 JogjaFile Inc.
If you want to solve $f(x)=0$ where $f$ is a polynomial, you can use the roots() function in Matlab.
Example Let $f(x)= x^{15}-2x^{14}+3x^{13}-4x^{12}+...+15x^1-16$, then define a vector $v$ as the vector of all the coefficients in decreasing order, i.e.
then roots(v) returns all roots of $f$
which are complex in this case.