5342245 发表于 2010-7-10 10:43

Savitzky-Golay滤波问题请教

Savitzky-Golay滤波问题请教本人初学信号处理,问些比较简单的问题,希望你你能有好心人帮忙解答一下,万分感谢
Savitzky-Golay可以实现数据的滤波去噪,数据一定要是等间隔的吗?我的数据的测试的时间不是等间隔的可以用这个方法来滤波吗?

另外我的不等间隔测试的数据我还是要插值出等间隔的,每天的数据,那我是应该先插值还是先滤波?

对于不等间隔的数据应该先插值还是先去噪?

附件中是我网上下的Savitzky-Golay程序
fc=sgsdf(x,n,dn,x0,flag)
x 为需处理的信号;其他的都是什么意思啊?
fc   = sgsdf(x,n,dn,x0,flag)
%       x    = the original data point, e.g., -5:5
%       n    = polynomial order,                  default=1
%       dn   = differentation order (0=smoothing),default=0
%       x0   = estimation point,                  default=0
%       flag = numerical(0) or symbolical(1),       default=0
%       fc   = filter coefficients obtained.

ChaChing 发表于 2010-7-10 23:15

这个没玩过! 搜下Savitzky-Golay (matlab 2009ra), 里头有
The data points are not required to have uniform spacing.
Normally, Savitzky-Golay filtering requires uniform spacing of the predictor data. However, the Curve Fitting Toolbox algorithm supports nonuniform spacing. Therefore, you are not required to perform an additional filtering step to create data with uniform spacing.
页: [1]
查看完整版本: Savitzky-Golay滤波问题请教