Clear Filters
Clear Filters

Signal filtering to remove low frequency movement

24 views (last 30 days)
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

Answers (1)

Star Strider
Star Strider on 27 Aug 2015
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!