[Numpy-discussion] Polyfit

Charles R Harris charlesr.harris@gmail....
Mon Jun 16 15:25:18 CDT 2008


On Mon, Jun 16, 2008 at 1:47 PM, Chandler Latour <deathicrow@gmail.com>
wrote:

> Yes, exactly what I meant.
>

Polyfit just fits polynomials, there is no way of fixing the constant to
zero. Your best bet is to use linalg.lstsq directly to fit the function you
want.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080616/d68b9cc0/attachment.html 


More information about the Numpy-discussion mailing list