s=0.01;k1=0:s:3;k2=-1:s:2;k3=-1:s:0.5;f1=-2/3*k1+2;%f(t-2)f2=2/3*k2+2/3;%f(-t)f3=-4/3*k3+2/3;%f(2t)y0=conv(f1,f2);y0=y0*s;a0=k1(1)+k2(1);b0=length(f1)+length(f2)-2;k4=a0*s:s:(b0+a0)*s;y1=conv(f1,f3);y1=y1*s;a1=k1(1)+k3(1);b1=length(f1)+length(f3)-2;k5=a1*s:s:(b1+a1)*s;y2=conv(f2,f3)
2022-07-06 09:09:54
30KB
文档资料