On Sat, May 3, 2008 at 3:11 AM, sa6113 <s.p...@gm...> wrote:
>
> Dear All,
>
> I have a problem using polyfit with a degree greater than 118 :
>
> The code is :
> matplotlib.mlab.polyfit( x, y, pow ) # pow is degree of polynomial
>
> for pow in range 118 and 238 the error is :
> LinAlgError, 'singular martix'
>
> and for pow greater than 237 this error raise :
> OverflowError : math range error
matplotlib.mlab.polyfit is deprecated (and is a thin wrapper to
numpy.polyfit in the current implementation). Please direct polyfit
questions and problems to the numpy list.
JDH
|