- 1、本文档共37页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
华南理工大学信号与系统实验报告
Experiment Export
Name:
Student No:
Institute:
Dec 26, 2011
Experiment Purposes
1. Be familiar with the software Environment and Programming flow in MATLAB5.3.
2. Learn how to draw the signal waveform and determine the signal properties.
3. Calculate the convolution, frequency response and system output by using the functions: conv, freqz, freqs and filter.
Experiment Contents 实验项目一:MATLAB编程基础及典型实例
①? ? 画出离散时间正弦信号并确定基波周期(注:pi? 表示圆周率)1? ? x1[n]=sin(pi*4/4)*cos(pi*n/4)2? ? x2[n]=cos(pi*n/4)*cos(pi*n/4)3? ? x3[n]=sin(pi*n/4)*cos(pi*n/8)
program for matlabn=0:31;x1=sin(pi*n/4).*cos(pi*n/4);x2=cos(pi*n/4).*cos(pi*n/4);x3=sin(pi*n/4).*cos(pi*n/8);subplot(3,1,1);stem(n,x1);title(x1);subplot(3,1,2);stem(n,x2);title(x2);subplot(3,1,3);stem(n,x3);title(x3);grid on;?
Conclusion: These signals is periodic, the first and second signal’s period are 4. The third signal’s period is 16.?②? ?? 离散时间系统性质:离散时间系统往往是用几个性质来表征,如线性、时不变性、稳定性、因果性及可逆性等。MATLAB可用来构成一些反例证明某些性质不满足。(a) 系统y[n]=sin((pi/2)x[n])不是线性的。利用信号x1[n]=δ[n]和x2=2δ[n]来证明该系统不满足线性性质。() 系统 y[n]=x[n]+x[n+1]不是因果的。利用信号x[n]=u[n]证明它。定义向量x和y分别代表在-5=n=9上的输入和在-6=n=9上的输出。Program for matlab
n=[0:20];
x1=[1 zeros(1,20)];
x2=2*x1;
x=x1+x2;
y1=sin((pi/2)*x1);
y2=sin((pi/2)*x2);
y=sin((pi/2)*x);
figure(1),stem(n,y1)
figure(2),stem(n,y2)
figure(3),stem(n,y)
1.4(b)
x1=[zeros(1,5) ones(1,10)];
x2=[zeros(1,4) ones(1,11)];
y=x1+x2;
n1=[-5:9];
n2=[-5:9];
figure(1),stem(n1,x1)
figure(2),stem(n2,y)
Conclusion: y[n]=sin((pi/2)x[n]) is not linear and y[n]=x[n]+x[n+1] is not cuasal and the result is shown in the chart above.?卷积计算:有限长信?? ??和??? ??(1)? ? 用解析方法计算y[n]=x[n]*h[n](2)? ? 用conv计算y。步骤:a. 定义0≤n≤5区间上的向量x?b. 定义0≤n≤5区间上的向量hc. 用y=conv(x,h)计算yd. 构造y的标号向量nye. 用stem(ny,y)画出结果f. 验证此结果与解析导出的结果是否一致?Program for matlab?N=6;
M=6;
L=N+M-1;
x=[1,1,1,1,1,1];
h=[0,1,2,3,4,5];
y=conv(x,h);
nx=0:N-1;
nh=0:M-1;
ny=0:L-1;
stem(ny,y);
xlabel(n);
xlabel(y)
您可能关注的文档
- 公共组织绩效管理离线作业.doc
- 公共建筑采光技术与设计方法.doc
- 八年级上物理第一三章习题.doc
- 公司领导班子对照检查材料2.doc
- 公共部门人力资源管理判断题整理版.doc
- 八年级生物上册知识点总结.doc
- 公开课常见天气系统教案.doc
- 六年级下册校本资料.doc
- 六味地黄口服液.docx
- 六级词汇频率.doc
- 运动风格趋势:轻量化户外 2025 S S.pdf
- 数字乡村建设村村通广播应用方案.pdf
- 高盛-日本市场策略 Japan Strategy Flash 1Q325 earnings summary Double-digit (%) profit growth as results largely surprised upwards 0820 2024.pdf
- CEEM《全球智库半月谈》(总第286期).pdf
- 智慧物流概论微课课件第4章智慧物流信息平台.pdf
- 数字乡村公共安全综合平台项目解决方案.pdf
- 智慧物流概论微课课件第7章智慧物流包装.pdf
- 【案例】”啤酒之王“的智慧物流探索之路.pdf
- 数字连江城市数字基座(一期)和数字乡村示范点建设项目.pdf
- 智慧物流概论微课课件第1章智慧物流概述.pdf
文档评论(0)