北京理工大学 信号与系统实验报告(3)

2019-05-26 21:15

(4)、已知信号x1(t)?4?t,(0?t?4),用MATLAB绘出下列信号的波形

1、

x3(t)?x1(t)?x2(t)

>> t=0:0.001:10;

>> x1=(-t+4).*(heaviside(t)-heaviside(t-4)); >> x2=sin(2*pi*t); >>x3=x1+x2; plot(t,x3)

5 4 3 2 1 0 -1 0

1 2 3 4 5 6 7 8 9 10

2、x4(t)?x1(t)?x2(t) >> t=0:0.001:10;

>> x1=(-t+4).*(heaviside(t)-heaviside(t-4)); >> x2=sin(2*pi*t); >> x4=x1.*x2; plot(t,x4)

3 2 1 0 -1 -2 -3 -4 0

1 2 3 4 5 6 7 8 9

3、

x5(t)?x1(?t)?x1(t)

syms t;

x1=(4-t)*(heaviside(t)-heaviside(t-4)); x1=(4+t)*(heaviside(-t)-heaviside(t+4)); x5=x1+x2; ezplot(t,x5);

5)、已知离散时间信号x(n)波形(

x(n)?[0,1,2,3,3,3,3]?),用MATLAB绘出x(n)、

x(-n)、x(n+2)和x(n-2)的波形。

n=-3:4;

x=[0,1,2,3,3,3,3,0]; n1=-fliplr(n); x1=fliplr(x); n2=n+2; n3=n-2;

subplot(221); stem(n,x,'filled'); subplot(222);

stem(n1,x1,'filled'); subplot(223); stem(n2,x,'filled'); subplot(224); stem(n3,x,'filled');

3322110-43-20240-43-202422110-202460-6-4-202

(6)、有MATLAB编程绘制下列信号的时域波形,观察信号是否为周期信号?若是周期信号,周期是多少?若不是周期信号,请说明原因。

1、

x(t)?1?cos(?4t??3)?2cos(?2t??4)?cos(2?t)

syms t;

x=1+cos(pi/4*t-pi/3)+2*cos(pi/2*t-pi/4)+cos(2*pi*t); ezplot(x,[-20,20]);

5 4 3 2 1 0 -1 -2 -3 -10

-8 -6 -4 -2 0 2 4 6 8 10

是周期信号 T=8s

2、x(t)?sin(t)?2sin(?t) >> x=sin(t)+2*sin(pi*t); >> plot(t,x)

3 2 1 0 -1 -2 -3 -20

-15 -10 -5 0 5 10 15 20

不是周期信号

3、

x(n)?2?3sin(2n???)38


北京理工大学 信号与系统实验报告(3).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:组织行为学案例[1]

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: