声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1388|回复: 0

[滤波] 时间序列滤波求助

[复制链接]
发表于 2007-2-25 23:06 | 显示全部楼层 |阅读模式

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

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

x
滤波器求助


I have spent 2 weeks on how to remove the cycles in my time series.
My data was sampled once half an hour, so there are 48 data point each day. I want to remove the daily cycle from the time series. The series has 3299 points. I tried a 8-order Low pass butterworth filter to remove the daily cycle, but the the result seemed strange. According to my knowledge, by means of removing the daily cycle, the resulted spectrum should be indentical as that of the original but eliminating the peak indicating the daily cycle.
See below. Could you please what is wrong with it? Pls find the attached.

fc=48/(3299*0.5)=0.03.     % Wrong or right to calculate the cutoff frequency?
[b,a]=butter(8, 0.03)   
y=filter(b,a,vola)      % ‘vola’ is the time series to be filtered.

[ 本帖最后由 zhangnan3509 于 2007-6-4 22:08 编辑 ]
filter.jpg
回复
分享到:

使用道具 举报

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-9-23 00:30 , Processed in 0.058749 second(s), 21 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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