title: derivative and value of a polynomial having symbolic coefficients
body: <p>![enter image description here][1]I have an unknown equation of a curve <code>y = a0 + a1*x + a2*x^2 +....+ a9*x^9</code> where coefficients are symbolic. I want to find its derivative and its values on particular xi.</p>
  
  <pre><code>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);
  </code></pre>
  
  <p>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.</p>
  
  <p>Please help. Thanks in advance. </p>