yinsawfilter

%脉冲信号
t1=linspace(0,1,101);
y1=[zeros(1,50),1,zeros(1,50)];
subplot(3,2,1);
plot(t1,y1);

%阶跃信号
t2=linspace(0,1,101);
y2=[zeros(1,50),ones(1,51)];
subplot(3,2,2);
plot(t2,y2);

%斜坡信号
t3=linspace(0,1,101);
y3=t3;
subplot(3,2,3);
plot(t3,y3);

%加速度信号
t4=linspace(0,1,101);
y4=t3.*t3;
subplot(3,2,4)
plot(t4,y4);

%sin和白噪声信号叠加
Fs=500;
T=1;
dt=1.0/Fs;
N=T/dt;
t5=linspace(0,T,N);
y5=10*sin(2*pi*10*t5);
y6=randn(1,N);
y7=y5+y6;
subplot(3,2,[5,6]);
plot(t5,y7);

分类:

技术点:

相关文章:

  • 2021-11-29
  • 2021-07-01
  • 2018-03-03
  • 2021-06-15
  • 2022-01-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-24
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
相关资源
相似解决方案