1 / 5

数字信号处理实验

数字信号处理实验. 实验一 离散时间信号的时域分析. 一、基础知识 1 、离散时间信号可以是一个有限长序列,也可以是一个无限长序列。有限长序列仅定义在有限的时间间隔中: 其中 。有限长序列的长度或时宽为 2 、单位样本序列定义为: 3 、单位阶跃序列定义为: 4 、指数序列定义为: ,其中 A 和 可以是任意实数或任意复数。. 数字信号处理实验. 二、用到的 matlab 命令. 1 、运算符或特殊符号

Download Presentation

数字信号处理实验

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 数字信号处理实验 实验一 离散时间信号的时域分析 一、基础知识 1、离散时间信号可以是一个有限长序列,也可以是一个无限长序列。有限长序列仅定义在有限的时间间隔中: 其中 。有限长序列的长度或时宽为 2、单位样本序列定义为: 3、单位阶跃序列定义为: 4、指数序列定义为: ,其中A和 可以是任意实数或任意复数。 浙江大学光电信息工程学系

  2. 数字信号处理实验 二、用到的matlab命令 1、运算符或特殊符号 : . + - * / ; % 2、基本元素和矩阵控制 i pi rand(m,n)-产生区间(0,1)间均匀正态分布的随机数和矩阵 3、基本函数 sin(x) exp(x) imag(x) real(x) 4、二维图形 grid plot(n,x,’r’,……)-连续 stem(n,x,’r’)-离散 title-标题文本 xlabel ylabel 5、通用图形函数 clf subplot 浙江大学光电信息工程学系

  3. 数字信号处理实验 三、程序示例 %产生一个正弦序列 n=0:40; %步长默认为1 f=0.1; phase=0; a=1.5; arg=2*pi*f*n-phase; x=a*cos(arg); clf;%清除旧图形 stem(n,x); axis([0 40 -2 2]); grid; title(‘正弦序列’); %曲线标题 xlabel(‘时间序号n’); %x轴标识 ylabel(‘振幅’); %y轴标识 legend(‘正弦序列’); %标识 axis; %设置坐标尺度 浙江大学光电信息工程学系

  4. 数字信号处理实验 四、实验内容 1、产生延时10个样本的延时单位样本序列,要求取样区间为[-20,20],显示该序列。 2、产生正弦信号序列x[n]=5*sin(0.1*pi*n),要求采样区间为[-10,10],显示该序列。 3、产生并显示一个长度为100的随机信号,该信号在[-2,2]之间均匀分布。 浙江大学光电信息工程学系

  5. 数字信号处理实验 五、下次实验预习:离散时间系统的时域分析 1、语言构造:break end for if input 2、基本矩阵:ones zeros 3、基本函数:abs 4、多项式运算函数:conv 5、二维图形:axis 6、信号处理工具函数:filter 浙江大学光电信息工程学系

More Related