?? ex8p13.m
字號:
%Digital Filter Specifications:
wp=0.2*pi; % digital Passband freq in rad
ws=0.3*pi; % digital Stopband freq in rad
Rp=1; % Passband ripple in dB
As=15; % Stopband attenuation in dB
% Analog Prototype Specifications:Inverse mapping for frequencies
T=1; % Set T=1
OmegaP=wp/T; % Prototype Passband freq
OmegaS=ws/T; % Prototype Stopband freq
% Analog Chebyshev-1 Prototype Filter Calculation:
[cs,ds]=afd_chb2(OmegaP,OmegaS,Rp,As);
% ***Chebyshev-2 Filter Order=4
% Impulse Invariance transformation:
[b,a]=imp_invr(cs,ds,T);
[C,B,A]=dir2par(b,a)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -