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

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

 Réponse acceptée

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 commentaire

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

Connectez-vous pour commenter.

Plus de réponses (1)

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

1 commentaire

http://www.mathworks.com/matlabcentral/answers/39619-need-to-design-a-fir-lpf-with-cuff-frequency-at-1-hz

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by