I need help making a bandpass filter

1 visualización (últimos 30 días)
Reed
Reed el 4 de Feb. de 2014
Comentada: Anuj el 4 de Feb. de 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.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by