notch filter using butter

>> [z p k] = butter(10, [55 65]./(fs/2), 'stop'); >> [sos,g]=zp2sos(z,p,k); >> h=dfilt.df2sos(sos,g); >> fvtool(h);
how do apply this to my signal...

1 Comment

Could you provide more information on what you are trying to accomplish? Are you just trying to filter a signal in the MATLAB environment?

Sign in to comment.

Answers (1)

If your signal is x, just do
y = filter(h,x)

Categories

Find more on Signal Processing Toolbox in Help Center and File Exchange

Asked:

on 11 Oct 2013

Answered:

on 14 Oct 2013

Community Treasure Hunt

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

Start Hunting!