- 1、本文档共24页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Project 2.3 Linear and Nonlinear Systems线性和非线性系统:
假定系统为:
(2.1)
用程序仿真该系统,输入三个不同的输入序列,和计算并求出相应的输出相应,,
A copy of Program P2_3 is given below:
Insert program code here. Copy from m-file(s) and paste.
% Generate the input sequences
clf;
n = 0:40;
a = 2;b = -3;
x1 = cos(2*pi*0.1*n);
x2 = cos(2*pi*0.4*n);
x = a*x1 + b*x2;
num = [2.2403 2.4908 2.2403];
den = [1 -0.4 0.75];
ic = [0 0]; % Set zero initial conditions
y1 = filter(num,den,x1,ic); % Compute the output y1[n]
y2 = filter(num,den,x2,ic); % Compute the output y2[n]
y = filter(num,den,x,ic); % Compute the output y[n]
yt = a*y1 + b*y2;
d = y - yt; % Compute the difference output d[n]
% Plot the outputs and the difference signal
subplot(3,1,1)
stem(n,y);
ylabel(Amplitude);
title(Output Due to Weighted Input: a \cdot x_{1}[n] + b \cdot x_{2}[n]);
subplot(3,1,2)
stem(n,yt);
ylabel(Amplitude);
title(Weighted Output: a \cdot y_{1}[n] + b \cdot y_{2}[n]);
subplot(3,1,3)
stem(n,d);
xlabel(Time index n);ylabel(Amplitude);
title(Difference Signal);
Y = filter(B,A,X) ,输入X为滤波前序列,Y为滤波结果序列,B/A 提供滤波器系数,B为分子, A为分母
Answers:
Q2.7 The outputs y[n], obtained with weighted input, and yt[n], obtained by combining the two outputs y1[n] and y2[n] with the same weights, are shown below along with the difference between the two signals:运行程序P2_3.m,将由加权输入得到的与进行比较,是在相同权系数下输出和相加得到的。这两个序列和他们的差异显示如下:
Insert MATLAB figure(s) here. Copy from figure window(s) and paste.
两个序列是否相等? 答:相等
该系统是否是线性系统? 答:是线性系统
Q2.8 Program P2_3 was run for the following three different sets of values of the weighting constants, a and b, and the following three different sets of input frequencies:用一组不同的权系数a和b的值以及一组不同的输入频率重做习题Q2.7,将结果显示如下:
The plots generated for each of the above three cases are shown below:将a和b及x1、x2分别改为a = 5;b = -10;x1 = cos(2*pi*0.2*n);x2 = cos(2*pi*0.8*n);
Insert MATLAB figure(s) here. Copy from figure window(s) and paste.
Based on these plots we can conclude that the system with d
您可能关注的文档
最近下载
- 论文写作与学术规范答案_论文写作与学术规范答案资源.doc VIP
- QCSG-GXPG2084037-2021 分布式光伏并网服务业务指导书.docx VIP
- 宁海博物馆红妆馆设计说明(扩初).doc VIP
- 4.2依法履行义务课件 -2024-2025学年统编版道德与法治八年级下册.pptx VIP
- 2025年国开行政法与行政诉讼法形考任务2试题及答案 .pdf VIP
- 2024-2025学年甘肃省小升初数学试卷及解答参考.pdf VIP
- 工业产品主数据标准通用规范.pdf VIP
- 三龄两历一身份认定表填写标准规范及样表.doc VIP
- 试油气操作规程 课件.ppt VIP
- 5《大学物理学》静电场练习题(马).doc VIP
文档评论(0)