Evaluate the polynomial p at the specified values of x.
If x is a vector or matrix, the polynomial is evaluated for each of the elements of x.
When mu is present, evaluate the polynomial for (x - mu(1)) / mu(2).
In addition to evaluating the polynomial, the second output represents the
prediction interval, y +/- dy, which contains at least 50% of
the future predictions. To calculate the prediction interval, the
structured variable s, originating from polyfit
, must be
supplied.
See also: polyvalm, polyaffine, polyfit, roots, poly.
Package: communications