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.

Hmm... you've just contradicted yourself with the space of two sentences. So which is it going to be (N-1)th order, order some arbitrary Mth order, with M<N?

And what do you intend "fit" to mean?

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



Relevant Pages

  • Re: what about GUI ?
    ... > Hmm. ... That Nano-X thing looks like a good fit for Minix... ...
    (comp.os.minix)
  • Re: OT: Vehicle suggestions?
    ... it might fit the bill pretty ... that'd be something worth looking at ... ... Just dump a matress in the back and hack around the country:) Hmm, ...
    (uk.rec.cycling)
  • Re: Up for grabs
    ... shame there's not one to fit my wallet. ... Hmm. ... I've got a coil spring compressor. ...
    (uk.rec.sheds)
  • Re: Up for grabs
    ... shame there's not one to fit my wallet. ... Hmm. ... I've got a coil spring compressor. ...
    (uk.rec.sheds)
  • Re: Baby on board stickers
    ... Hmm.. ... Sad to say - I've never been a huge fan of the "lets see how many ... long words I can fit into a lyric" Scottish bloke.. ...
    (uk.rec.motorcycles)