Smooth data over a certain frequency?

2 visualizaciones (últimos 30 días)
mstackmann
mstackmann el 8 de Ag. de 2016
Respondida: Star Strider el 8 de Ag. de 2016
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?

Respuestas (1)

Star Strider
Star Strider el 8 de Ag. de 2016
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.

Community Treasure Hunt

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

Start Hunting!

Translated by