POLYFIT

Polynomial curve fitting.

POLYFIT(x,y,n) finds the coefficients of a polynomial

p(x) of degree n that fits the data, p(x(i)) ~= y(i),

in a least-squares sense.

See also POLY1BXXXU2, POLYVAL8CDZ095, ROOTS7H4N0HR.