- 1、本文档共12页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Matlab Lab1 锦豪 明哲
1.4 Basic problem
Intrduction:y1[n]=f(x1[n]),y2[n]=f(x2[n]),y[n]=f(ax1[n]+bx2[n]),if y[n]=ay1[n]+by2[n], the system is linear. Let x(n)=0(n0),y(n)=0(n0),the system is causal.
(a). The system y[n] = sin((π/2)x[n]) is not linear. Use the signals x1[n] =δ[n] and x2[n] = 2δ[n] to demonstrate how the system violates linearity.
Code:
n=[-10:10];
x1=[zeros(1,10) 1 zeros(1,10)];
x2=[zeros(1,10) 2 zeros(1,10)];
y1=sin((pi/2)*x1);
y2=sin((pi/2)*x2);
y3=y1+y2;
y4=sin((pi/2)*(x1+x2));
subplot(2,1,1),stem(n,y3);
title(the sum of y1[n] and y2[n] when input is x1[n] and x2[n])
subplot(2,1,2),stem(n,y4);
title(the input is x1[n]+x2[n])
Figure:
solution: the pictured above show the sum of y1[n] and y2[n] when the input is x1[n] and x2[n] ,y1[0]+y2[0]=1 ,the picture under show the output when the input is x1[n]+x2[n],y[0]=-1, y1[0]+y2[0]≠y[0].So the system y[n] = sin((π/2)x[n])is not linear
(b). The system y[n] = x[n] + x[n + 1] is not causal. Use the signal x[n] = u[n] to demonstrate this. Define the MATLAB vectors x and y to represent the input on the interval -5 n 9, and the output on the interval -6 n 9, respectively.
Code:
ni=[-5:9];
no=[-6:9];
x1=[zeros(1,5) ones(1,10)];
x2=[0 x1];
x3=[x1,1];
y=x2+x3;
subplot(2,1,1),stem(ni,x1);
title(the input x[n]=u[n])
subplot(2,1,2),stem(no,y);
title(the output y[n])
Figure:
solution: we easily see the y[-1]=1,but x[n]=0 when n=-1.The output of causal system only depends on the moment and the moment before the input to the system.So The system y[n] = x[n] + x[n + 1] is not causal
Intermediate Problems
(c). The system y[n] = log(x[n]) is not stable.
Code:
n=[-10:10];
x=[zeros(1,10) 1 zeros(1,10)];
y=log(x);
subplot(2,1,1),stem(n,x);
title(the input x[n]=u[n])
subplot(2,1,2),stem(n,y);
title(the output y[n])
Figure:
Solution: the input x[n]=u[n],when n=0 ,then x[0]=1,y[0]=0,otherwise x[n]=0,so log(0) tends to minus infinity , y[n] is unbounded. And stable system has the bounded output. So the
您可能关注的文档
最近下载
- harry potter哈利波特英文版与魔法石.docx
- 十二烷基硫酸钠对黄锑矿浮选行为的影响及作用机理.pdf VIP
- 2024秋形势与政策章节测试题库【含答案】.pdf
- JB∕T 4149-2022 臂式斗轮堆取料机.pdf
- 备战2023高考英语江苏省二模三模试题分类汇编:七选五(含答案解析).docx VIP
- 【产业图谱】2022年茂名市产业布局及产业招商地图分析.pdf VIP
- 国家工商行政管理总局通达商标服务中心招聘模拟备考预测(共1000题)综合模拟试卷+答案解析.docx
- JRC航海雷达 JMA730372527253中文操作说明书.doc VIP
- 电子海图系统教程文件.ppt
- 学校单位后勤水电工作总结PPT.pptx
文档评论(0)