I need help making a bandpass filter

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.

 Réponse acceptée

Anuj
Anuj le 4 Fév 2014

1 vote

you can use this function- fdesign.bandpass

2 commentaires

Reed
Reed le 4 Fév 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');
Try this:
output = filter(Hd,input);

Connectez-vous pour commenter.

Plus de réponses (0)

Question posée :

le 4 Fév 2014

Commenté :

le 4 Fév 2014

Community Treasure Hunt

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

Start Hunting!

Translated by