旭无双
2009-09-14, 21:59
我在做二次曲线拟合时,遇到这样的出错:
Warning: Polynomial is badly conditioned. Remove repeated data points
or try centering and scaling as described in HELP POLYFIT.
> In polyfit at 79
In lvbo at 120
其中的 In polyfit at 79在polyfit.m中
In lvbo at 120
ss=[x2-1,x2,x2+1];
tt=[uu(x2-1),uu(x2),uu(x2+1)];
p=polyfit(ss,tt,n)
我是对ss与tt对应的三个点进行曲线拟合的,点数依次为(3019 237.06482263589132)(3020,239.6313185679545)(3021,238.41772604524604
),请指点!
Warning: Polynomial is badly conditioned. Remove repeated data points
or try centering and scaling as described in HELP POLYFIT.
> In polyfit at 79
In lvbo at 120
其中的 In polyfit at 79在polyfit.m中
In lvbo at 120
ss=[x2-1,x2,x2+1];
tt=[uu(x2-1),uu(x2),uu(x2+1)];
p=polyfit(ss,tt,n)
我是对ss与tt对应的三个点进行曲线拟合的,点数依次为(3019 237.06482263589132)(3020,239.6313185679545)(3021,238.41772604524604
),请指点!