Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2009-09-13
帖子: 2
声望力: 0 ![]() |
![]()
我在做二次曲线拟合时,遇到这样的出错:
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 ),请指点! |
![]() |
![]() |