声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 4002|回复: 1

[综合讨论] Savitzky-Golay滤波问题请教

[复制链接]
发表于 2010-7-10 10:43 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
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.

test_sgsdf.m

11.26 KB, 下载次数: 13

sgsdf.m

4.03 KB, 下载次数: 13

回复
分享到:

使用道具 举报

发表于 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.
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-9-21 20:30 , Processed in 0.052781 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表