|
本帖最后由 meiyongyuandeze 于 2011-4-19 20:24 编辑
既然没法求解解析解,那可以考虑数值拟合,我用傅里叶级数给拟合了下。- y =
- General model Fourier8:
- y(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 = -2.182e+009 (-4.103e+010, 3.667e+010)
- a1 = 0 (-8.029e+010, 8.029e+010)
- b1 = -7.661e+009 (-1.56e+011, 1.407e+011)
- a2 = 6.867e+009 (-1.703e+011, 1.84e+011)
- b2 = 6.938e+009 (-1.298e+011, 1.436e+011)
- a3 = -7.882e+009 (-1.895e+011, 1.737e+011)
- b3 = -1.305e+009 (-3.549e+010, 3.288e+010)
- a4 = 4.156e+009 (-9.309e+010, 1.014e+011)
- b4 = -1.844e+009 (-4.288e+010, 3.92e+010)
- a5 = -1.011e+009 (-2.756e+010, 2.553e+010)
- b5 = 1.509e+009 (-3.134e+010, 3.436e+010)
- a6 = 1.814e+007 (-2.127e+009, 2.163e+009)
- b6 = -4.901e+008 (-1.171e+010, 1.072e+010)
- a7 = 3.959e+007 (-5.714e+008, 6.506e+008)
- b7 = 7.063e+007 (-1.714e+009, 1.855e+009)
- a8 = -5.395e+006 (-1.115e+008, 1.007e+008)
- b8 = -3.056e+006 (-1.012e+008, 9.507e+007)
- w = 0.3333 (-0.1852, 0.8519)
复制代码 用cftool感觉拟合的还是比较好,原函数的x的范围[0,pi]不知道对你有用没有! |
评分
-
1
查看全部评分
-
|