Smooth data over a certain frequency?

My data, traces over time, contain noise that seems to happen at a frequency of 3 to 4 Hz. What is the best way to smooth out this type of noise at a specific frequency without losing peak data?

回答 (1 件)

Star Strider
Star Strider 2016 年 8 月 8 日

0 投票

Without having your signal, I cannot provide specific code. To eliminate frequency-limited noise, I would use a bandstop filter with a stopband of 3 Hz to 4 Hz.
There are several ways to design filters in MATLAB, including dfilt and designfilt. My filter design procedure for IIR filters is here: How to design a lowpass filter for ocean wave data in Matlab? See the documentation for all the functions mentioned for an explanation of their options.

質問済み:

2016 年 8 月 8 日

回答済み:

2016 年 8 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by