信号与系统实验指导——————matlab_第1页
信号与系统实验指导——————matlab_第2页
信号与系统实验指导——————matlab_第3页
信号与系统实验指导——————matlab_第4页
信号与系统实验指导——————matlab_第5页
已阅读5页,还剩15页未读 继续免费阅读

下载本文档

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

文档简介

1、y=cos(2clear,close all,dt = 0.01;t = -2:dt:2;x = sin(2*pi*t);plot(t.x)% clear all variables% close all figure windows% specify the step of time variable% specify the interval of time% generate the signal% open a figure window and draw the plot of x(t)titlecinusoidal signal x(t)1) xlabel(time t (sec)

2、*)t function y = delta(t)dt = o.ol;y = (u(t)-u(t-dt)/dt;产生单位阶跃信号的扩展函数为:% unit step function function y = u(t)y = (t>=0);% y = 1 for t > 0, else y = 0rriezzwnrw1匚100so90807060a40302010£-6-202810y=sin(2t)sinusoidal signal x(t)time t (sec)figure 1-inlxifile edit view insert tools desktop win

3、dow helpdhsd0 bqsinusoidal signal x(t)time t (sec)y=2sin(2t)ij figure 1-ln| x|file edit view insert tools desktop window help、 01 qsinusoidal signal x(t)jnlxi> figure 1fie edit view insert tools desktop wndow helpldgsss fe 致q甥® f 00 agy=sa(t/t) i."figure 1file edi view hsert tools deskt

4、op wndow helpmbsinusoidal signal x(t)3.93.83.73.63.4000.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9time t (sec) 1 1 1 1 1 1 13.533y=4sa(t/t)3-1time t (sec).r cc7” fc2 culo figure 1-ln| xifile edit view insert tools desktop window helpmmmmmbd致毘 s sinusoidal signal x(t)4-3 5-1 t =-2:0.001:2 f= 2*exp( (j * (pi/4) *

5、t); subpl ot(2,2, l),plot(t,f); subplot(2?2,2),plot(tjeal(f);subplot(2,2,3),plot(t4mag(f); subplot(2,2,4),plot(t,abs(f);fie ectt vtew insert toots desttop iwidow he<3%dq口昌n致耀 s n22210-505106t =-20:0.001:20 f= 2* exp(-1 +j * 10)* t);subplot(2,2,2),plot(tjeal(f);subplot(2,2,3),plot(t,imag(f);subplo

6、t(224),plot(t,abs(f);on;axis(卜 3,3,3、3)(=5:0.001:5; x=square(4*t,75);plot(t,x);grid mm 10=5:0.001:5; x=tripuls(t,2,0); plot(t,x);gridon;axis(卜 3,3,3,3)3 58 microsoft word文件宅)觸© ffls©献2佝'主和匕切小丿 figure 1©2 g 24680sru3 rzoqs k qqo© < d0 q24/24 - srifi<m$2車击要锻砺目jlt=-5:0.001:5;x 二 tripuls (t,2); plot (t,x); grid on; axis (-3,3,-3,3)a)目 triplustt.o)2jt=-5:0.001:5;x=squtft(4»t,75); plot (tzx); grid on; ixi $(-3,3,-3,3)101-5:0.001:5/咖规,2,腳p<u),gn 地翅卩,33,3)*<)t0.00t5;x“qum(30 也 75); plot st); grid on; axis (ho jo,-10.

温馨提示

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

评论

0/150

提交评论