信号处理基础实验1
1,绘制出冲激信号、复指数信号以及抽样信号的波形。(连续)
冲激信号:
function exp1_2(n)
t=-5:0.01:5;
y=0*(t>=-5&t<0)+1*(t==n)+0*(t>0&t<=5);
plot(t,y)
axis([-5,5,-1,1.5])
end
复指数信号:
clear all;close all;
t0=0;
tf=5;
dt=0.01;
t=[t0:dt:tf];
alpha=-0.5;
w=10;
x=exp((alpha+j
原创
2022-03-18 17:43:15 ·
538 阅读 ·
2 评论