传射艺术吧 关注:1贴子:11
  • 1回复贴,共1
figure(3)
t1=0:0.5:2;
t2=-1:0.5:1;
y1=0.5.*(t1);
subplot(221);
plot(t1,y1);
y2=0.5.*(t2+1);
subplot(222);
plot(t2,y2);
z=0.5*conv(y1,y2);
t3=length(z);
t0=t1(1)+t2(1);
t=t0:0.5:t0+(t3-1)*0.5;
subplot(223);
plot(t,z);


IP属地:四川1楼2021-04-16 09:06回复
    figure(1)
    t1=0:0.1:10;
    f1=exp(-t1);
    subplot(221);
    plot(t1,f1);
    f2=sin(t1);
    subplot(222);
    plot(t1,f2);
    f=0.1*conv(f1,f2);
    t3=length(f);
    t0=t1(1)+t1(1);
    t=t0:0.5:t0+(t3-1)*0.5;
    subplot(223);
    plot(t,f);


    IP属地:四川2楼2021-04-16 09:36
    回复