陷波器设计

1.matlab 代码

>> Zeta = 0.01;%设计滤波深度
>> Wn = 100;%设计滤波器频率
>> Width = 2;%设计滤波器宽度
>> s = tf('s')

s =
 
  s
 
连续时间传递函数。
模型属性
>> notch = (s^2 + 2*Wn*Zeta*s + Wn^2)*(Wn/Width)*(Wn*Width)/(Wn^2*(s+Wn/Width)*(s+Wn*Width));%陷波器传递函数
>> notch

notch =
 
  10000 s^2 + 20000 s + 1e08
  ---------------------------
  10000 s^2 + 2.5e06 s + 1e08
 
连续时间传递函数。
模型属性
>> bode(notch)
>>