Hello,
Numpy is capable of simple fitting of polynomials, see for a
definition and an example:
http://docs.scipy.org/doc/numpy/reference/generated/numpy.polyfit.html
Alternatively, there is an entry in the SciPy Cookbook: http://
www.scipy.org/Cookbook/FittingData
Regards,
Pierre
Le 30 déc. 09 à 12:07, Manuel Wittchen a écrit :
> Hi,
>
> I want to do a linear regression with my Data but couldn't find a
> ready-to-use matplotlib- or numpy-function. If there is no function
> for linear regression in matplotlib/numpy, could somebody explain to
> me how to code lin. reg. as a function?
>
> Regards,
>
> Manuel Wittchen