% wpolyfitdemo(p) % Generate some random data for the polynomial p, then fit that % data. If p ends with 0, then the fit will be constrained to % go through the origin. % % To force a variety of weights, poisson statistics are used to % estimate the variance on the individual points, but gaussian % statistics are used to generate new values within that variance.

- wpolyfit % Return the coefficients of a polynomial @var{p}(@var{x}) of degree

Generated on Sat 16-May-2009 00:04:49 by