![enter image description here][1]I have an unknown equation of a curve y = a0 + a1*x + a2*x^2 +....+ a9*x^9
where coefficients are symbolic. I want to find its derivative and its values on particular xi.
xi = 0:01:10;
syms a0 a1 a2 a3 a4 a5 a6 a7 a8 a9
y = [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9];
dy = polyder(y);
val_y = polyval(y,xi);
val_dy = polyval(dy,xi);
Then I have to do some more mathematical operations with the result and compare with the known final answer so that I can find out the value of this unknown coefficients.
Please help. Thanks in advance.