% Description: Demo of polyfit and polyval functions.
GitHub

polyval_chap01_6.m

% P(x) = x^3 - 3 * x^2 + 3 * x - 1 ...