Signal filtering to remove low frequency movement
20 ビュー (過去 30 日間)
古いコメントを表示
I have the following signal - position of object against time.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148490/image.jpeg)
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!