使用numpy的polyfit()方法, 报SVD did not converge in Linear Least Squares
今天正在尝试使用numpy.polyfit()来做多项式拟合的案例我的代码如下:#-*-coding:utf-8-*-importnumpyasnpimportmatplotlib.pyplotasmplp=[-3,1,2,1]x=np.linspace(-10,10,1000)y=np.polyval(p,x)mpl.figure('nihe',facecolor='gray')mpl.titl