Need help in designing a filter which removes all 1 Hz frequencies.

5 次查看(过去 30 天)
I have white noise from this white noise i want to remove all 1 Hz frequencies using LPF
In matlab how can be design a LPF with 1Hz cutoff freq

采纳的回答

Wayne King
Wayne King 2012-5-28
There are many ways. You have not told us your sampling frequency. Let me assume it is 60-Hz.
d = fdesign.lowpass('Fp,Fst,Ap,Ast',1,3,0.5,40,60);
Hd = design(d);
% View filter magntidue response
fvtool(Hd)
% to filter data
output = filter(Hd,inputdata);
  1 个评论
suresh
suresh 2012-5-29
sir, what if my sampling frequency is 0.0333 Hz
my cutoff frequency is 1Hz
output = filter(Hd,inputdata);
above equation will remove all 1Hz frequencies from input data
pls help

请先登录,再进行评论。

更多回答(1 个)

Wayne King
Wayne King 2012-5-29
I answered this in your other post. If your sampling frequency is 0.0333 Hz, then you cannot resolve 1 Hz.

类别

Help CenterFile Exchange 中查找有关 Get Started with DSP System Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by