I need help making a bandpass filter

1 view (last 30 days)
Reed
Reed on 4 Feb 2014
Commented: Anuj on 4 Feb 2014
I am wanting to make a chebyshev bandpass filter, remove 6-18 hz, sampled at 1000 hz. I am confused as to the parameters and which filter function to use.

Accepted Answer

Anuj
Anuj on 4 Feb 2014
you can use this function- fdesign.bandpass
  2 Comments
Reed
Reed on 4 Feb 2014
Thanks. I went ahead and used the filter design tool, saved it as matlab code. but now I am not sure how to apply that filter to my signal. this is the end of the code h = fdesign.bandpass('N,Fst1,Fst2,Ast', N, Fstop1, Fstop2, Astop, Fs); Hd = design(h, 'cheby2');
Anuj
Anuj on 4 Feb 2014
Try this:
output = filter(Hd,input);

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!