MATLAB处理的数据问题我用函数拟合.出来了图像和关系式,为什么代入不得争取结果呢?第三次:Warnings during fitting:Equation is badly conditioned. Remove repeated data points or try centering and scaling. Linear
来源:学生作业帮助网 编辑:六六作业网 时间:2025/01/13 16:25:24
MATLAB处理的数据问题我用函数拟合.出来了图像和关系式,为什么代入不得争取结果呢?第三次:Warnings during fitting:Equation is badly conditioned. Remove repeated data points or try centering and scaling. Linear
MATLAB处理的数据问题
我用函数拟合.出来了图像和关系式,为什么代入不得争取结果呢?
第三次:
Warnings during fitting:
Equation is badly conditioned. Remove repeated data points
or try centering and scaling.
Linear model Poly3:
f(x) = p1*x^3 + p2*x^2 + p3*x + p4
Coefficients (with 95% confidence bounds):
p1 = 0.6638 (-0.4495, 1.777)
p2 = -3936 (-1.062e+004, 2752)
p3 = 7.778e+006 (-5.614e+006, 2.117e+007)
p4 = -5.124e+009 (-1.406e+010, 3.816e+009)
Goodness of fit:
SSE: 8.739e+004
R-square: 0.9994
Adjusted R-square: 0.9992
RMSE: 93.48
难道关系式不是 y=-0.7616*t^4+6099*t^3-1.832*10^7*t^2+2.445*10^10*t-1.224*10^13吗?我代入1998为什么是负数
额,关系式是第四次模拟的,就是那个意思.着急!
MATLAB处理的数据问题我用函数拟合.出来了图像和关系式,为什么代入不得争取结果呢?第三次:Warnings during fitting:Equation is badly conditioned. Remove repeated data points or try centering and scaling. Linear
有时候,用cftool拟合出的函数不一定是对的,这个我碰到了好几次.所以拟合函数要用多种方法去做.如用lsqcurvefit()函数.