⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 example6_13.m

📁 西交大刘树棠写的《数字信号处理》那本书的所有源代码
💻 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 Butterworth Prototype Filter Calculation:
[cs,ds]=afd_butt(OmegaP,OmegaS,Rp,As);
% ***Butterworth Filter Order=6
% Impulse Invariance transformation:
[b,a]=imp_invr(cs,ds,T);
[C,B,A]=dir2par(b,a)
[db,mag,pha,grd,w]=freqz_m(b,a);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -