马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
我用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) |