polyval
Y = polyval (P, X) Y = polyval (P, X, [], MU) [Y, DELTA] = polyval (P, X, S) [Y, DELTA] = polyval (P, X, S, MU) -- evaluate a polynomial. P holds coefficients highest power first. With MU the polynomial is evaluated at (X - MU(1)) / MU(2). S is the second output of polyfit and enables the error estimate DELTA.