Clear Filters
Clear Filters

notch filter using butter

4 views (last 30 days)
Deep Tayal
Deep Tayal on 11 Oct 2013
Answered: Honglei Chen on 14 Oct 2013
>> [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
Jonathan LeSage
Jonathan LeSage on 14 Oct 2013
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)

Honglei Chen
Honglei Chen on 14 Oct 2013
If your signal is x, just do
y = filter(h,x)

Community Treasure Hunt

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

Start Hunting!