如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
内容1neirong1A=[1,-0.9];B=[0.05,0.05];x1n=[11111111zeros(1,50)];x2n=ones(1,128);y1n=filter(B,A,x1n);subplot(311);y=y1n;stem(y1n,y);title('系统对R8(n)的响应y1(n)')y2n=filter(B,A,x2n);subplot(312);y=y2n;stem(y2n,y);title('系统对u(n)的响应y2(n)')hn=impz(B,A,58);subplot(313);y=hn;stem(hn,y);title('h(n)');内容2x1n=[1,1,1,1,1,1,1,1];h1n=[ones(1,10)zeros(1,10)];h2n=[1,2.5,2.5,1zeros(1,10)];y21n=conv(h1n,x1n);y22n=conv(h2n,x1n);figure(2)subplot(221);y=h1n;stem(h1n,y);title('系统单位脉冲响应h1(n)')subplot(222);y=y21n;stem(y21n,y);title('(e)h1(n)与R8(n)的卷积y21(n)')subplot(223);y=h2n;stem(h2n,y);title('(f)系统单位脉冲响应h2(n)')subplot(224);y=y22n;stem(y22n,y);title('h2(n)与R8(n)的卷积y22(n)')subplot(223);y=’h2(n)’;tstem(h2n,y);title(‘(f)系统单位脉冲响应h2(n)’)subplot(224);y=’y22(n)’;tstem(y22n,y);title(’h2(n)与R8(n)的卷积y22(n)’);内容3un=ones(1,256);n=0:255;xsin=sin(0.014*n)+sin(0.4*n);A=[1,-1.8237,0.9801];B=[1/100.49,0,-1/100.49];y31n=filter(B,A,un);y32n=filter(B,A,xsin);figure(3)subplot(211);y=y31n;stem(y31n);title('(h)谐振器对u(n)的响应y31(n)')subplot(212);y=y32n;stem(y32n);title('(i)谐振器对正弦信号的响应y32(n)')