polyval (MATLAB Functions)
www.ece.northwestern.edu › matlabhelp › refy = polyval(p,x) returns the value of a polynomial of degree n evaluated at x. 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. x can be a matrix or a vector. In either case, polyval evaluates p at each element of x. y = polyval(p,x,[],mu) uses in place of .