sábado, 25 de febrero de 2012

SISTEMAS CONTINUOS

EJERCICIO:

Un circuito RL con una resistencia R=1Ω y un inductor L=1H siendo un sistema lineal con un voltaje V(t)=Bu(t) y una corriente I° Amperios. solucionar la ecuacion diferencial para B=1 y B=2 para las condiciones  iniciales I°=1 y I°=0 respectivamente determine la entrada cero y la salida cero.



Ecuaciones

  • Cuando B=1 and I°=1
Comando en MATLAB

>> t=0:0.001:1;
>> B=1;
>> I=1;
>> Izs=B*(1-exp(-t));
>> Izi=I*exp(-t);
>> It=Izs+Izi;
>> plot(t,It);
>> grid on
>> xlabel('t(s)')
>> ylabel('I')
>> title('grafica de la corriente del circuito')

GRAFICA:


Comando en MATLAB:

>> Izs=B*(1-exp(-t));
>> ylabel('Izs')
>> title('grafica Izs')
>> xlabel('t(s)')
>> plot(t,Izs);
>> title('grafica Izs')
>> xlabel('t(s)')
>> ylabel('Izs')
>> grid on


GRAFICA:


Comando en MATLAB:

>> Izi=I*exp(-t);
>> plot(t,Izi);
>> grid on
>> ylabel('Izi')
>> xlabel('t(s)')
>> title('grafica Izi')

GRAFICA:

  • Cuando I°=1 and B=2
Comando en MATLAB:

>> t=0:0.001:1;
>> I=1;
>> B=2;
>> Izi=I*exp(-t);
>> Izs=B*(1-exp(-t));
>> It=Izs+Izi;
>> plot(t,It);
>> xlabel('t(s)')
>> ylabel('I')
>> title('grafica de la corriente del circuito')
>> grid on

GRAFICA:

Comando en MATLAB:

>> Izs=B*(1-exp(-t));
>> plot(t,Izs);
>> grid on
>> xlabel('t(s)')
>> ylabel('Izs')
>> title('grafica Izs')

GRAFICA:


Comando en MATLAB:

>> Izi=I*exp(-t);
>> plot(t,Izi);
>> ylabel('Izi')
>> xlabel('t(s)')
>> title('grafica Izi')
>> grid on

GRAFICA:


  • Cuando I°=0 and B=1

Comando en MATLAB:

>> t=0:0.001:1;
>> I=0;
>> B=1;
>> Izi=I*exp(-t);
>> Izs=B*(1-exp(-t));
>> It=Izs+Izi;
>> plot(t,It);
>> xlabel('t(s)')
>> ylabel('It')
>> title('grafica de la corriente del circuito')
>> grid on

GRAFICA:


Comando en MATLAB

>> Izs=B*(1-exp(-t));
>> plot(t,Izs);
>> ylabel('Izs')
>> xlabel('t(s)')
>> title('grafica Izs')
>> grid on

GRAFICA


Comando en MATLAB:

>> Izi=I*exp(-t);
>> plot(t,Izi);
>> title('grafica Izi')
>> xlabel('t(s)')
>> ylabel('Izi')
>> grid on


GRAFICA:


  • Cuando I°=0 and B=2
Comando en MATLAB


>> t=0:0.001:1;
>> I=0;
>> B=2;
>> Izi=I*exp(-t);
>> Izs=B*(1-exp(-t));
>> It=Izs+Izi;
>> plot(t,It);
>> ylabel('It')
>> xlabel('t(s)')
>> title('grafica de la corriente del circuito')
>> grid on

GRAFICA:


Comando en MATLAB

>> Izs=B*(1-exp(-t));
>> plot(t,Izs);
>> xlabel('t(s)')
>> ylabel('Izs')
>> title('grafica Izs')
>> grid on

GRAFICA:


Comando en MATLAB:

>> Izi=I*exp(-t);
>> plot(t,Izi);
>> title('grafica Izi')
>> ylabel('Izi')
>> xlabel('t(s)')
>> grid on

GRAFICA:



¡GRACIAS POR SU VISITA!


0 comentarios: