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

dsp

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

Best Answer

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);