Signal filtering to remove low frequency movement
23 次查看(过去 30 天)
显示 更早的评论
I have the following signal - position of object against time.

I want to filter out the longer period signal (around 15 seconds) with a butterworth filter, so it basically removes the big surges? Hugely stuck!
Thanks
0 个评论
回答(1 个)
Star Strider
2015-8-27
I would use a bandpass filter with an appropriate low-frequency cutoff to remove the baseline drift and d-c offset, and high-frequency cutoff to remove any high-frequency noise. Determine those frequencies by first doing a fft of your data. (The code between the first two plot images in the fft documentation is all you need to do for this.) My filter design procedure is here.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!