matlab拟合曲线,求助
我有一组坐标,用傅里叶级数拟合了该坐标组,生成了傅里叶函数,但是我不会对该傅里叶函数组,做FFT变换,有人会吗?帮个忙fittedmodel1 =
General model Fourier8:
fittedmodel1(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 = -54.08(-55.13, -53.03)
a1 = 28.61(26.98, 30.24)
b1 = -53.2(-54.75, -51.66)
a2 = 3.899(2.536, 5.263)
b2 = -6.457(-7.881, -5.032)
a3 = 3.01(1.655, 4.365)
b3 = -3.211(-4.605, -1.817)
a4 = 2.153(0.7878, 3.518)
b4 = -1.692(-3.068, -0.3151)
a5 = 1.692(0.3438, 3.041)
b5 = -1.316(-2.706, 0.07436)
a6 = 1.304(-0.06926, 2.677)
b6 = -0.9888(-2.357, 0.3794)
a7 = 1.163(-0.1824, 2.509)
b7 = -0.681(-2.067, 0.7046)
a8 = 1.493(0.172, 2.814)
b8 = -0.509(-1.809, 0.7915)
w = 0.005195(0.00515, 0.00524)
D:\临时文件夹\12.png 该坐标组采了54个点,周期是0..35秒,采样频率约1500Hz,拟合它的曲线,对连续的傅里叶级数组做FFT,是为了得到它的Fmax。这样我就能设置采样频率了,求帮忙
页:
[1]