实验7 杭电

时间:2021-01-31 11:29:50
【文件属性】:

文件名称:实验7 杭电

文件大小:33KB

文件格式:DOCX

更新时间:2021-01-31 11:29:50

杭电

实验7 clear all; wp1=0.2*pi; ws1=0.3*pi; Rp=1; Rs=10; Fs=1; wp2=2*Fs*tan(wp1/2); ws2=2*Fs*tan(ws1/2); [N,Wn]=buttord(wp2,ws2,Rp,Rs,'s'); [Z,P,K]=buttap(N); [Bap,Aap]=zp2tf(Z,P,K); [b,a]=lp2lp(Bap,Aap,Wn); [bz,az]=bilinear(b,a,Fs); [H,W]=freqz(bz,az,64); subplot(2,1,1); plot(W/pi,abs(H)); xlabel('ƵÂÊ'); ylabel('·ù¶È'); subplot(2,1,2); plot(W/pi,20*log10(abs(


网友评论