Effacer les filtres
Effacer les filtres

I need help making a bandpass filter

3 vues (au cours des 30 derniers jours)
Reed
Reed le 4 Fév 2014
Commenté : Anuj le 4 Fév 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.

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by