필터 지우기
필터 지우기

implementation of notch filter

조회 수: 2 (최근 30일)
Aniket
Aniket 2013년 6월 7일
Hello i have written code of notch filter equation is as following
*********************
alpha = 0.8;
fs = 1200;
omega = 2*pi*60/fs; % fs = sampling frequency
num = [1 -2*cos(omega) 1] % numerator
den = [1 -2*alpha*cos(omega) alpha*alpha] % denominator
***********************************
i want to use this in simulink block and i am using discrete transfer function block but i am not getting notch at 60 hz ....
so i want to ask any think wrong in code or which filter block should i used in simulink ?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by