Fitting polynomial curve

Astan Chee astan.chee at gmail.com
Thu Mar 17 01:42:04 EDT 2011


Hi,
I have 2 points in 3D space and a bunch of points in-between them. I'm
trying to fit a polynomial curve on it. Currently I'm looking through numpy
but I don't think the function exists to fit a function like this:
y = ax**4 + bx**3 + cx**2 + dx + e
(I'm not sure what thats called but one degree up from a cubic curve)
Also, I'm sure it'll take alot of time to brute force it like this but I'm
sure I'm missing something for this.
Thanks for any advice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110317/25206bae/attachment.html>


More information about the Python-list mailing list