You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
» b = [2 1];<br />
» c = a*b + 2*b - 4<br />
c =<br />
2*x^3 + 5*x^2 + 12*x + 1<br />
» d = c.diff<br />
d =<br />
6*x^2 + 10*x + 12<br />
» c.plot<br />
» c<br />
c =<br />
2*x^3 + 5*x^2 + 12*x + 1<br />
» p = double(c)<br />
p =<br />
2 5 12 1<br />
» p(2)<br />
ans =<br />
5<br />
» c(2)<br />
c =<br />
Još primera - polynom<br />
61 -50<br />
-4 -2 0 2 4<br />
150<br />
100<br />
50<br />
0<br />
2*x 3 + 5*x 2 + 12*x + 1