Polyfit
A Matlab function for deriving how well polly fits.
In the case of a bad approximation, the function will return polyshit.
In the case of an accurate approximation, Polly will be found with a beard on a unicycle drinking a beer.
In the case of a bad approximation, the function will return polyshit.
In the case of an accurate approximation, Polly will be found with a beard on a unicycle drinking a beer.
x = (0: 0.1: 2.5)';
y = erf(x);
p = polyfit(x,y,6)
p =
polyshit
y = erf(x);
p = polyfit(x,y,6)
p =
polyshit