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

11 views (last 30 days)
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

Accepted Answer

Wayne King
Wayne King on 28 May 2012
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 Comment
suresh
suresh on 29 May 2012
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

Sign in to comment.

More Answers (1)

Wayne King
Wayne King on 29 May 2012
I answered this in your other post. If your sampling frequency is 0.0333 Hz, then you cannot resolve 1 Hz.
  1 Comment
Wayne King
Wayne King on 29 May 2012
http://www.mathworks.com/matlabcentral/answers/39619-need-to-design-a-fir-lpf-with-cuff-frequency-at-1-hz

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!