Azzera filtri
Azzera filtri

I need help making a bandpass filter

3 visualizzazioni (ultimi 30 giorni)
Reed
Reed il 4 Feb 2014
Commentato: Anuj il 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.

Risposta accettata

Anuj
Anuj il 4 Feb 2014
you can use this function- fdesign.bandpass
  2 Commenti
Reed
Reed il 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 il 4 Feb 2014
Try this:
output = filter(Hd,input);

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by