- 214
- 0
- 约8.4千字
- 约 17页
- 2019-12-16 发布于福建
- 举报
数字信号处理高西全版课后上机实验
1. 实验一:系统响应及系统稳定性
clc
clear
x1=[ones(1,8),zeros(1,20)];
subplot(321)
stem(x1,.)
title(u8(n));xlabel(n);ylabel(u(n));
x2=ones(1,30);
subplot(322)
stem(x2,.)
title(u(n));xlabel(n);ylabel(u(n));
B=[0.05,0.05];
A=[1,-0.9];
y1=filter(B,A,x1);
subplot(323)
stem(y1,.)
title(y(n));xlabel(n);ylabel(y(n));
y2=filter(B,A,x2);
subplot(324)
stem(y2,.)
title(y(n));xlabel(n);ylabel(y(n));
x3=[1,zeros(1,30)];
subplot(325)
stem(x3,.)
title(单位脉冲);xlabel(n);ylabel(u(n));
y3=filter(B,A,x3);
subplot(326)
stem(y3,.)
title(单位脉冲响应);xlabel(n);ylabel(y(n));
图1 实验(1)波形
clc
clear
x1=[ones(1,8
原创力文档

文档评论(0)