You are on page 1of 2

1.

-
t=(-0.5*(10.^-6):0.000000001:4.5*(10.^-6));

f=10.^6;
p=1/f;
a=10.^-3;

coseno=a*cos(2*pi*f*t)+10.^-3;
unitstep1=t>=0
j=t <=4*10.^-6;
h=coseno.*unitstep1.*j;

plot(t,h);
3.-

t=(0:0.000000001:4*10.^-6);

f=10.^6;
p=1/f;
a=10.^-3;

coseno=a*cos(2*pi*f*t)+10.^-3;
unitstep1=t>=0
j=t <=4*10.^-6;
h=coseno.*unitstep1.*j;

cnv=conv(h,h);

plot(cnv);

You might also like