50hz notch zero pole placement filter

I cannot get this to work using the inbuilt filter command.
My b is to 0.9475 -1.618 and 0.9475
My a is set to 1 -1.5614 and 0.8783.
My notch is at 50 hz with a 500hz sampling and 10hz of bandwidth. My dataset is 10000 points raken over 20s. I don’t know why I cannot get this to work in Matlab.
Regards

Respuestas (1)

Star Strider
Star Strider el 9 de Abr. de 2018

0 votos

See the documentation example on: Remove the 60 Hz Hum from a Signal (link). Change the frequencies and it should work.

Etiquetas

Preguntada:

el 8 de Abr. de 2018

Respondida:

el 9 de Abr. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by