文档详情

东华大学信号与线性系统课程设计答案..doc

发布:2017-01-15约1.4万字共47页下载文档
文本预览下载声明
信号与线性系统 课程设计 班级: 学号: 姓名: 东华大学信息学院 目 录 实验一 连续信号的时域分析 …………………………… 3 实验二 连续时间系统的时域分析 ……………………… 8 实验三 连续信号的频域分析 …………………………… 14 实验四 连续系统的频域分析 …………………………… 22 实验五 信号采样与重建 ………………………………… 33 实验六 离散时间信号和系统分析 ……………………… 39 实验总结 ………………………………………………… 46 实验一 连续信号的时域分析 一、实验目的 1、熟悉MATLAB 软件。 2、掌握常用连续信号与离散信号的MATLAB 表示方法。 二、实验设备 安装有matlab6.5 以上版本的PC 机一台。 三、实验原理 四、实验内容 1、用MATLAB表示连续信号:,Acos(ω0 t +? ),Asin(ω0 t +? )。 源程序: clc clear close syms t; f1=2*exp(t); f2=2*cos(3*t+4); f3=2*sin(3*t+4); subplot(2,2,1); ezplot(f1,[-10,2]); xlabel(t); title(f(t)=2e^t); grid on; subplot(2,2,2); ezplot(f2,[-5,5]); xlabel(t); title(f(t)=2cos(3t+4)); grid on; subplot(2,2,3); ezplot(f3,[-5,5]); xlabel(t); title(f(t)=2sin(3t+4)); grid on 2、用MATLAB表示抽样信号(sinc(t))、矩形脉冲信号(rectpuls(t, width)) 及三角脉冲信号(tripuls(t, width, skew))。 源程序: clc clear close t=-5:0.01:5; f1=sinc(t); f2=3*rectpuls(t,4); f3=3*tripuls(t,4,0); subplot(2,2,1); plot(t,f1); xlabel(t); title(f(t)=sinc(t)); grid on; subplot(2,2,2) plot(t,f2); xlabel(t); title(f(t)=3rectpuls(t,4)); grid on; axis([-5,5,-1,4]); subplot(2,2,3); plot(t,f3); xlabel(t); title(f(t)=3rectpuls(t,4,0)); grid on; axis([-5,5,-1,4]); 3、编写如图3 的函数并用MATLAB 绘出满足下面要求的图形。 (1) f (?t); (2) f (t ? 2); (3) f (1? 2t); (4) f (0.5t +1). 源程序: clc clear close t1=-14:0.05:2; t2=0:0.05:16; t=-6.5:0.05:1.5; t4=-6:0.05:26; f1=4*rectpuls(-t1-6,12)+3*tripuls(-t1-6,4,0); f2=4*rectpuls(t2-8,12)+3*tripuls(t2-8,4,0); f3=4*rectpuls(1-2*t-6,12)+3*tripuls(1-2*t-6,4,0); f4=4*rectpuls(0.5*t4+1-6,12)+3*tripuls(0.5*t4+1-6,4,0); subplot(2,2,1); plot(t1,f1); xlabel(t); title(f(-t)); subplot(2,2,2); plot(t2,f2); xlabel(t); title(f(t-2)); subplot(2,2,3); plot(t,f3); xlabel(t); title(f(1-2t)); subplot(2,2,4); plot(t4,f4); xlabel(t); title(f(0.5t+1)); 实验二 连续时间系统的时域分析 一、实验目的 1、掌握卷积计算方法。 2、掌握函数lsim,impulse,step 的用法,lsim 为求取零状态响应, impulse 为求取单位脉冲响应,step 为求取单位阶跃响应。 3、运用课堂上学到的理论知识,从RC、RL 一阶电路的响应中正确 区分零输入响应、零状态响应、自由响应与受迫响应。 二、实验设备 安装有matlab6.5 以上版本的PC 机一台。 三、实验原理
显示全部
相似文档