Re: C for Polynomial Fit



Hans-Bernhard Bröker wrote:
Gary Pace wrote:

Does anybody know where I can find code for a C function to fit
an (N-1)th order polynomial to N (x,y) data points. Actually I
need to fit a 5th order polynomial to 11 x,y points.

.... snip ...

And last but not least: what made you post this in c.a._embedded_,
of all places?

It seems to me that this is a required technique for all sorts of
embedded systems. The area of differences will probably be in
selecting points for rejection (in the fitted samples), probabably
on the base of deviation from the fitted curve.

--
Merry Christmas, Happy Hanukah, Happy New Year
Joyeux Noel, Bonne Annee, Frohe Weihnachten
Chuck F (cbfalconer at maineline dot net)
<http://cbfalconer.home.att.net>



--
Posted via a free Usenet account from http://www.teranews.com

.