没有合适的资源?快使用搜索试试~ 我知道了~
matlab 实验程序 - 副本.docx
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 198 浏览量
2021-09-14
16:09:11
上传
评论
收藏 542KB DOCX 举报
温馨提示
试读
11页
。。。
资源推荐
资源详情
资源评论
习题 2.1
1、
n=[-5:15];
x1=3*impseq(-2,-5,15)+2*impseq(0,-5,15)-impseq(3,-5,15)+5*impseq(7,-5,15);
subplot(2,1,1);stem(n,x1);title('Sequence in Problem 2.1.1');
xlabel('n');ylabel('x1(n)');
grid on
5、
n=[-200:200];
x5=5*(cos(0.49*pi*n)+cos(0.51*pi*n));
subplot(2,1,2);stem(n,x5);title('Sequence in Problem 2.1.5');
xlabel('n');ylabel('x5(n)');
grid on
Sequence in Problem 2.1.1
6
4
)
n
2
0
(
1
x
-2
-5
0
5
10
15
n
Sequence in Problem 2.1.5
10
5
)
n
0
(
5
x
-5
-10
-200
-150
-100
-50
0
50
100
150
200
n
题 2.4
1
n=-3:3;x=[2,4,-3,-1,-5,4,7];
[x11,n11]=sigshift(x,n,3); [x12,n12]=sigshift(x,n,-4);
[x1,n1]=sigadd(2*x11,n11,3*x12,n12);
[x2,n2]=sigadd(x1,n1,-1*x,n);
subplot(2,1,1);stem(n2,x2);
title('Sequence in Problem 2.1.4'); xlabel('n1');ylabel('x(n1)');grid on;
2.
[x31,n31]=sigshift(x,n,-3);[x32,n32]=sigshift(x,n,2);
[x33,n33]=sigfold(x,n);
[x33,n33]=sigshift(x33,n33,1); [x34,n34]=sigshift(x,n,-1);
[x35,n35]=sigmult(x31,n31,x32,n32);
y =
Columns 1 through 11
0
0
0
0
0
8
28
28
0
0
0
0
0
0
0
0
Column 12
0
[x35,n35]=sigmult(x31,n31,x32,n32);
y =
Columns 1 through 11
0
0
0
0
0
8
Column 12
0
[x36,n36]=sigmult(x33,n33,x34,n34);
y =
0
0 -21
-4
25
-4 -21
0
0
[x3,n3]=sigadd(x35,n35,x36,n36);
subplot(2,1,2);stem(n3,x3);
title('Sequence in Problem in 2.4.3'); xlabel('n3');ylabel('x3(n3)'); grid on
Sequence in Problem 2.1.4
40
20
)
1
n
(
x
0
-20
-8
-6
-4
-2
0
2
4
6
n1
Sequence in Problem in 2.4.3
100
50
0
)
3
n
(
3
x
-50
-6
-4
-2
0
2
4
6
n3
题 2.19
b=[1,2,1];a=[1,-0.5,0.25];n=[0:100];
s=impseq(0,0,100);
y=filter(b,a,s);
subplot(2,1,1);stem(n,y);
title('Sequence in Problem2.19.1');xlabel('n');ylabel('y');
grid on
b=[1,2,1];a=[1,-0.5,0.25];n=[0:200];
x1=5+3*cos(0.2*pi*n)+4*sin(0.6*pi*n);
x2=stepseq(0,0,200);
x=x1.*x2;
y=filter(b,a,x);
subplot(2,1,2);stem(n,y);
title('Sequence in Problem 2.19.3');xlabel('序列');ylabel('幅度');
grid on
Sequence in Problem2.19.1
3
2
1
y
0
-1
0
10
20
30
40
50
n
60
70
80
90
100
Sequence in Problem 2.19.3
60
40
20
0
度
幅
0
20
40
60
80
100
序 列
120
140
160
180
200
习题 3.3
1.
w=[0:1:500]*pi/500;
H1=exp(3*j*w)./(4*exp(j*w)-4));
magH1=abs(H1);angH1=angle(H1);
剩余10页未读,继续阅读
资源评论
苦茶子12138
- 粉丝: 1w+
- 资源: 6万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功