ABSTRACT
To obtain y x x xc nat ( , , , )1 2 … use the MATLAB function polyval (a, x). The function polyval (a,x) returns a vector of length n giving yc, i, where
y a x a x a x a x ac i i
m i m, = + + + + - -
1… (8.17)
The mean square error (mse) is a measure of the precision of the fit. The mse is defined as follows:
mse = 1
n y y
i c i∑ -= ( ), (8.18)
where n is the number of data points.