You are on page 1of 3

III.

Un circuito de primer orden con respuesta al impulso

h ( t ) =u(t)

tiene como seal de entrada una rampa de voltaje x(t)=tu(t). Se


desea determinar el voltaje de salida al tiempo t=1 segundo
utilizando la versin discreta del problema y va Matlab. Utilice un
tiempo de muestreo T=0.05 segundos.
a) Determine las secuencias h[n] y x[n] para este problema as como sus
grficas en el dominio del tiempo discreto.

x (t)t=nT =tu ( t )t=nT =(nT )u (nT )


x [ n ]=nTu[n]
x [ 0 ]= ( 0 )( 0.05 )( 1 )=0
x [ 1 ] =( 1 ) ( 0.05 )( 1 ) =0 .05
x [ 2 ] =( 2 ) ( 0.05 ) ( 2 )=0

h ( t )t =nT =enT u ( t )=
L1

h [ n ] = e
k=0

b) Determine en forma terica, utilizando la versin discreta del problema,


el valor de y(t) correspondiente a t=1 segundo.

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

c) Determine en forma prctica el valor de y(t) al tiempo solicitado


utilizando Matlab va la funcin conv.

You might also like