Professional Documents
Culture Documents
h ( t ) =u(t)
h ( t )t =nT =enT u ( t )=
L1
h [ n ] = e
k=0
x [ k ] x {nk
y (t)=x [ n ]h [ n ] =
k=
u ( t ) = et ( 1t ) dt=[t1+ et ]
0
figure(1)
%Tiempo continuo
n=0:0.05:1; %21
h=exp(-0.05);
x=0.05*n;
y=0.05*conv(h,x);
plot(n,y);title('Tiempo continuo');
xlabel('n');ylabel('nTu(t)');
pause
%Tiempo discreto
figure(2)
n=0:1:20; %21
h_n=exp(-0.05*n);
x_n=0.05*n;
y_n=0.05*h_n;
plot(x_n,y_n);title('Tiempo discreto');
xlabel('Seg.');ylabel('u(t)');
pause