Signal filtering to remove low frequency movement

조회 수: 17 (최근 30일)
ben howey
ben howey 2015년 8월 27일
답변: Star Strider 2015년 8월 27일
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

답변 (1개)

Star Strider
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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by