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
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Smoothing and Denoising 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!