邓俊辉信号与系统2材料

上传人:ji****n 文档编号:45288684 上传时间:2018-06-15 格式:DOC 页数:6 大小:561KB
返回 下载 相关 举报
邓俊辉信号与系统2材料_第1页
第1页 / 共6页
邓俊辉信号与系统2材料_第2页
第2页 / 共6页
邓俊辉信号与系统2材料_第3页
第3页 / 共6页
邓俊辉信号与系统2材料_第4页
第4页 / 共6页
邓俊辉信号与系统2材料_第5页
第5页 / 共6页
点击查看更多>>
资源描述

《邓俊辉信号与系统2材料》由会员分享,可在线阅读,更多相关《邓俊辉信号与系统2材料(6页珍藏版)》请在金锄头文库上搜索。

1、functionf,n=sconv(f1,f2,n1,n2,p) f=conv(f1,f2);f=f*p; n3=n1(1)+n2(1); L=length(n1)+length(n2)-1; n=n3:p:(n3+(L-1)*p);p=0.01; n1=-1:p:1; f1=ones(1,length(n1); n2=0:p:1;f2=2*n2; f,n=sconv(f1,f2,n1,n2,p); subplot(3,1,1),plot(n1,f1),axis(-1.5,1.5,0,2),grid on subplot(3,1,2),plot(n2,f2),axis(-0.1,1.2,0,3

2、),grid on subplot(3,1,3),plot(n,f),axis(-1.5,5,0,2),grid on x=1,2,3,4;y=1,1,1,1; z=conv(x,y)z =1 3 6 10 9 7 4 N=length(z); stem(0:N-1,z) sys=tf(0 0 1,1 2 100); t=0:0.01:5; f=10*sin(2*pi*t); y=lsim(sys,f,t); plot(t,y) sys=tf(0 0 1,1 2 100); t=0:0.01:5; y=impulse(sys,t); plot(t,y) title(连续冲击响应) xlabel

3、(time(sec) ylabel(y(t) sys=tf(0 0 1,1 2 100); t=0:0.01:5; y=step(sys,t); plot(t,y) title(阶跃冲击响应) xlabel(time(sec) ylabel(y(t) k=0:10;a=1 3 2;b=1 0 0; h=impz(b,a,k); stem(k,h) title(单位冲击响应) sys=tf(0 0 1,1 5 -1); t=0:0.01:5; f=2*cos(pi*t); y=lsim(sys,f,t); plot(t,y)sys=tf(0 0 1,1 sqrt(2) 1); t=0:0.01:

4、10; y=impulse(sys,t);subplot(3,1,1); plot(t,y) title(连续冲击响应) xlabel(time(sec) ylabel(y(t)sys=tf(0 0 1,1 sqrt(2) 1); t=0:0.01:10; y=step(sys,t); subplot(3,1,2); plot(t,y) title(阶跃冲击响应) xlabel(time(sec) ylabel(y(t)sys=tf(0 1 1,1 1 1); t=0:0.01:10; y=impulse(sys,t); subplot(3,1,1); plot(t,y) title(连续冲击响应) xlabel(time(sec) ylabel(y(t)sys=tf(0 1 1,1 1 1); t=0:0.01:10;y=step(sys,t); subplot(3,1,2); plot(t,y) title(阶跃冲击响应) xlabel(time(sec) ylabel(y(t)

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 生活休闲 > 社会民生

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号