Polyval
Evaluate polynomial value
Syntax
polyval(p, v) |
p is a row/column vector v is a scalar |
The input argument p is a vector of length n+1 whose elements are the coefficients in descending powers of the polynomial to be evaluated. |
Example
Input |
Output |
polyval([1.0,2.0,3.0,4.0,5.0], 2) |
|
polyval([2,1+i,-1+i,i,1-i,-1-i], 2-i) |
Created with the Personal Edition of HelpNDoc: Easily create Web Help sites