实验三离散时间系统的时域分析.doc_第1页
实验三离散时间系统的时域分析.doc_第2页
实验三离散时间系统的时域分析.doc_第3页
实验三离散时间系统的时域分析.doc_第4页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

实验三 离散时间系统的时域分析1.实验目的 (1)理解离散时间信号的系统及其特性。 (2)对简单的离散时间系统进行分析,研究其时域特性。 (3)利用MATLAB对离散时间系统进行仿真,观察结果,理解其时域特性。 2.实验原理 离散时间系统,主要是用于处理离散时间信号的系统,即是将输入信号映射成的输出的某种运算,系统的框图如图所示:(1)线性系统线性系统就是满足叠加原理的系统。如果对于一个离散系统输入信号为时,输出信号分别为,即:。而且当该系统的输入信号为时,其中a,b为任意常数,输出为,则该系统就是一个线性离散时间系统。 (2)时不变系统 如果系统的响应与激励加于系统的时刻无关,则该系统是时不变系统。对于一个离散时间系统,若输入,产生输出为,则输入为,产生输出为,即:若,则。通常我们研究的是线性时不变离散系统。3.实验内容及其步骤 (1)复习离散时间系统的主要性质,掌握其原理和意义。 (2)一个简单的非线性离散时间系统的仿真已知系统由差分方程下列描述:yn-0.5yn-1+1.2yn-2=xn-2xn-1+0.3xn-2;用不同方法计算信号sin(2*pi*0.2*n),并比较所用方法及计算结果。 clf; n = 0:50; x = sin(2*pi*0.2*n)num = 1 -0.5 1.2;den = 1 -2 0.3;ic = 0 0; y = filter(num,den,x,ic); subplot(2,1,1); stem(n,x); ylabel(Amplitude);title(Output Due to Weighted Input: a cdot x_1n + b cdot x_2n);subplot(2,1,2); stem(n,y); ylabel(Amplitude);title(Weighted Output);x = Columns 1 through 11 0 0.9511 0.5878 -0.5878 -0.9511 -0.0000 0.9511 0.5878 -0.5878 -0.9511 -0.0000 Columns 12 through 22 0.9511 0.5878 -0.5878 -0.9511 -0.0000 0.9511 0.5878 -0.5878 -0.9511 -0.0000 0.9511 Columns 23 through 33 0.5878 -0.5878 -0.9511 -0.0000 0.9511 0.5878 -0.5878 -0.9511 -0.0000 0.9511 0.5878 Columns 34 through 44 -0.5878 -0.9511 -0.0000 0.9511 0.5878 -0.5878 -0.9511 -0.0000 0.9511 0.5878 -0.5878 Columns 45 through 51 -0.9511 -0.0000 0.9511 0.5878 -0.5878 -0.9511 -0.0000一、 已知系统yn=nxn用信号x1n=cos(2*pi*0.2*n),x2n=cos(2*pi*0.6*n)判断系统的线性性。 clf; n = 0:50; a = 2; b = -3;x1 = cos(2*pi*0.2*n); x2 = cos(2*pi*0.6*n);x = a*x1 + b*x2; y1 = n.*x1 ; y2 = n.*x2; y = n.*(x1+x2); yt = y1 + y2; d = y - yt; subplot(3,1,1); stem(n,y); ylabel(Amplitude);title(Output Due to Weighted Input: a cdot x_1n + b cdot x_2n);subplot(3,1,2) ; stem(n,yt); ylabel(Amplitude);title(Weighted Output: a cdot y_1n + b cdot y_2n);subplot(3,1,3) ; stem(n,d); xlabel(Time index n); ylabel(Amplitude);title(Difference Signal);二、 用信号X3n=cos(2*pi*0.3*n),判断上题系统的时不变性,0n clf; n = 0:50; D = 5; a = 3.0; x = a*cos(2*pi*0.1*n);xd = zeros(1,D) x; y = n.*x;yd = n.*xd;d = y - yd(1+D:51+D);subplot(3,1,1); stem(n,y); ylabel(Amplitude); title(Output yn); grid;subplot(3,1,2); stem(n,yd(1:51); ylabel(Amplitude);title(Output due to Delayed Input xn - , num2str(D),); grid;subplot(3,1,3); stem(n,d); xlabel(Time index n); ylabel(Amplitude);title

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论