由cftool的到的非线性拟合结果怎样得到函数
我用cftool工具箱得到的拟合结果很好,怎样提取它画图用的函数啊?我的结果在下面。它用的语句是h_ = plot(cf_,'fit',0.95);cf_的数据在下面,那个a0的值是什么意思?cf_ =
General model Fourier8:
cf_(x) =
a0 + a1*cos(x*w) + b1*sin(x*w) +
a2*cos(2*x*w) + b2*sin(2*x*w) + a3*cos(3*x*w) + b3*sin(3*x*w) +
a4*cos(4*x*w) + b4*sin(4*x*w) + a5*cos(5*x*w) + b5*sin(5*x*w) +
a6*cos(6*x*w) + b6*sin(6*x*w) + a7*cos(7*x*w) + b7*sin(7*x*w) +
a8*cos(8*x*w) + b8*sin(8*x*w)
Coefficients (with 95% confidence bounds):
a0 = -5.683e+007(-5.99e+008, 4.853e+008)
a1 = 7.84e+007(-6.96e+008, 8.528e+008)
b1 =6.435e+007(-5.165e+008, 6.452e+008)
a2 = -1.401e+007(-2.061e+008, 1.781e+008)
b2 = -7.044e+007(-7.294e+008, 5.885e+008)
a3 = -1.882e+007(-1.536e+008, 1.159e+008)
b3 =3.522e+007(-3.228e+008, 3.933e+008)
a4 =1.579e+007(-1.228e+008, 1.544e+008)
b4 = -6.546e+006(-9.484e+007, 8.174e+007)
a5 = -5.213e+006(-5.763e+007, 4.72e+007)
b5 = -1.578e+006(-5.587e+006, 2.431e+006)
a6 = 6.78e+005(-8.205e+006, 9.561e+006)
b6 =1.012e+006(-6.778e+006, 8.802e+006)
a7 =1.643e+004(-3.264e+005, 3.593e+005)
b7 = -1.701e+005(-1.801e+006, 1.461e+006)
a8 = -7989(-5.502e+004, 3.905e+004)
b8 = 8034(-9.278e+004, 1.088e+005)
w =1.876e-016(7.391e-017, 3.013e-016) ...怎样提取它画图用的函数啊?...
不清楚lZ要的!? 画图用的函数LZ不是已经提取了?
...那个a0的值是什么意思?...
LZ要问()里头的意义吗?
就是(with 95% confidence bounds)!
回复 沙发 ChaChing 的帖子
谢谢你的回复我说的函数的意思是我可以得到的表达式如fx,可以用plot(fx)得到和他一样的图,还有括号里的数值有什么用? 没真正玩过cftool, 仅是感觉既然已经是交谈式的求取了, 直接使用复制不行吗?
95% confidence bounds那是统计的东西, 怕说的不到位, 查下书或google下
回复 地板 ChaChing 的帖子
好的,谢谢主任了.
页:
[1]