Function Reference
— Function File: y= polyval (p, x)
— Function File: y= polyval (p, x, [], mu)

Evaluate the polynomial at of the specified values for x. When mu is present evaluate the polynomial for (x-mu(1))/mu(2). If x is a vector or matrix, the polynomial is evaluated for each of the elements of x. — Function File: [y, dy] = polyval (p, x, s)
— Function File: [y, dy] = polyval (p, x, s, mu)

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 form `polyfit', must be present.