- 1、本文档共26页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
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 differ
您可能关注的文档
- 4实验四 杂查询.doc
- 4练习与答 词项逻辑.ppt
- 5 Funamentals of Computer Software.ppt
- 5 英汉转法.ppt
- 5-3 Tesis Organization.ppt
- 5. A rief Survey of American__ Literature.ppt
- 5. Ho Dip Galvanizing (热浸镀锌).doc
- 5.6.2锅炉原理(样卷二答案).doc
- 50Fro a draft textbook manuscript submitted to a.doc
- 5弹性力学题课 2课时.doc
- 2024年四川成都市“蓉漂”人才荟成都市交通运输局信息中心招聘2人【综合基础知识500题】高频考点模拟试题及参考答案解析.docx
- 2024年四川成都郫都区招聘公共类事业单位人员43人历年【综合基础知识500题】高频考点模拟试题及参考答案解析.docx
- 2024年四川省攀枝花市属事业单位招聘103人【综合基础知识500题】高频考点模拟试题及参考答案解析.docx
- 2024年四川省江油市事业单位招聘79人历年【综合基础知识500题】高频考点模拟试题及参考答案解析.docx
- 2024年四川省成都市司法局所属一家事业单位招聘9人历年【综合基础知识500题】高频考点模拟试题及参考答案解析.docx
- 2024年四川省成都市应急管理局所属2家事业单位公开招聘5人历年【综合基础知识500题】高频考点模拟试题及参考答案解析.docx
- 2024年四川省广安枣山物流商贸园区财政局招聘3人历年【综合基础知识500题】高频考点模拟试题及参考答案解析.docx
- 2024年四川省成都大邑县招聘事业单位工作人员55人历年【综合基础知识500题】高频考点模拟试题及参考答案解析.docx
- 2024年四川省成都市公共资源交易服务中心招聘6人历年【综合基础知识500题】高频考点模拟试题及参考答案解析.docx
- 2024年四川省成都市青白江区招聘50人历年【综合基础知识500题】高频考点模拟试题及参考答案解析.docx
文档评论(0)