《数字信号处理》实验指导
例:利用双线性变换法设计低通巴特沃斯数字滤波器,其技术指标为: Wp=0.2*pi,Rp=1dB;Ws=0.4*pi,Rs=15dB,T=1s. >> Wp=0.2*pi;Rp=1;Ws=0.4*pi;Rs=15;T=1, >> Fs=1/T >> omegap=(2/T)*tan(Wp/2);%通带截止频率预畸 >> omegas=(2/T)*tan(Ws/2);%阻带截止频率预畸 >> [N,Wn]=buttord(omegap,omegas,Rp,Rs,'s') >> [B,A]=butter(N,Wn,'s') >> [b,a]=bilinear(B,A,Fs) >>%画图 >> [h
用户评论