notch filter using butter

4 vues (au cours des 30 derniers jours)
Deep Tayal
Deep Tayal le 11 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 commentaire
Jonathan LeSage
Jonathan LeSage le 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?

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Single-Rate Filters dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by