Re: C for Polynomial Fit



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.

Simply look up the general art of "Least squares fit". Be advised
that the resultant matrices can be fairly unstable.

--
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

.



Relevant Pages

  • Re: C for Polynomial Fit
    ... Gary Pace wrote: ... Does anybody know where I can find code for a C function to fit an th order polynomial to N data points. ... I at least know where to start...I suppose it was always a faint hope that somebody would say "follow this link to the source for int UnconditionalPerfectPolyFit", but hey, it was worth a try. ...
    (comp.arch.embedded)
  • Re: C for Polynomial Fit
    ... Gary Pace wrote: ... Actually I need to fit a 5th order polynomial to 11 x,y points. ... Hmm... ... And what do you intend "fit" to mean? ...
    (comp.arch.embedded)
  • Re: C for Polynomial Fit
    ... Gary Pace wrote: ... Does anybody know where I can find code for a C function to fit an th order polynomial to N data points. ... DSP and Mixed Signal Design Consultant ...
    (comp.arch.embedded)
  • Re: A couple of hollowing questions
    ... foot, that is. ... the jaws of the chuck. ... Make it a hair small and put a strip of paper towel down the side, over the end and back down the other side to make a snug fit. ... diameter with a small hole in the center will fit on the point of my tailstock center and I use that to hold an item without punching a hole in it. ...
    (rec.crafts.woodturning)
  • Re: Charles
    ... What is this chuck to fit? ... Or is this a drill chuck (which normally would be expected to be ... If a Jacobs style drill chuck (which might fit the size you ... into the outer shell holds it together. ...
    (rec.crafts.metalworking)