Need help with band pass filter!

I am told to design a bandpass filter but I used the function bandpass in matlab instead. But when I try it on the frequency-domain data, it gives me some negative value, which is supposed to be positive.

 Respuesta aceptada

Star Strider
Star Strider el 13 de Oct. de 2018

0 votos

Although designed in the frequency domain, digital filters created by bandpass and most other functions operate in the time domain.
If you want to see the effects of the filter in the frequency domain, use the fft (link) function on your time domain signals before filtering and after filtering.

2 comentarios

Duc Tran
Duc Tran el 15 de Oct. de 2018
Thanks for your answer. I read many posts and it seems you are a super active member of the community.
Star Strider
Star Strider el 15 de Oct. de 2018
As always, my pleasure.
I do my best!

Iniciar sesión para comentar.

Más respuestas (0)

Preguntada:

el 13 de Oct. de 2018

Comentada:

el 15 de Oct. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by