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

回答 (1 件)

Star Strider
Star Strider 2018 年 4 月 9 日

0 投票

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

カテゴリ

タグ

質問済み:

2018 年 4 月 8 日

回答済み:

2018 年 4 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by