作者stonecold0 (QAM)
看板MATLAB
标题[讨论] Fourier Series Curve Fitting问题
时间Tue Apr 7 15:19:23 2015
各位大大好:
我现在有一组data
x = 0:0.15:1.35;
y = [2.2 1.595 1.031 0.722 0.786 1.2 1.805 2.369 2.678 2.614];
我试着使用一阶Fourier series curve fitting
MATLAB有内建CFTOOL,算出的w值为4.188
我的想法是w = 2*pi*f, f=1/T, T = max(x) - min(x)
(w = 2*pi/1.35 = 4.6542 与tool算出的4.188有差距)
但所计算出的w值与tool的starting point相同,是否tool内有做一些收敛的方式得出?
想请问各位大大:
1. w值是如何算出来的?(找了很多资料似乎都没详细说明)
2. starting point是用来做甚麽的?
小弟第一次使用,先谢谢各位大大了!
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 220.133.0.51
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/MATLAB/M.1428391166.A.67A.html