📄 c713.m
字号:
%bandstop FilterWp=[60 260];Ws=[100 150];Gp=-2.2;Gs=-20;% Butterworth[N,Wn]=buttord(Wp,Ws,-Gp,-Gs,'s')[num,den]=butter(N,Wn,'stop','s')% Cheby1%[N,Wn]=cheb1ord(Wp,Ws,-Gp,-Gs,'s');%[num,den]=cheby1(N,-Gp,Wn,'stop','s')% Cheby2%[N,Wn]=cheb2ord(Wp,Ws,-Gp,-Gs,'s');%[num,den]=cheby2(N,-Gs,Wn,'stop','s')% Elliptic%[N,Wn]=ellipord(Wp,Ws,-Gp,-Gs,'s');%[num,den]=ellip(N,-Gp,-Gs,Wn,'stop','s')w=0:1:1000; w=w';[mag,phase,w]=bode(num,den,w);plot(w,mag)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -