I have a Matlab function that evaluates a polynomial in one point in a non-explicit way (i.e., I do not have access to its coefficients )
y = @(t) P(t)
Is there a way I can compute its coefficients (by interpolation , or other means ) so as I can find it roots using the Matlab roots function.
There is a way to do it with symbolic variables but I'd like to know if there is a solution without using symbolic computing :
syms y ;
coefficients=sym2poly(feval(P,y));
Thanks