para el Post de hoy veremos el comportamiento de ecuaciones en donde variaremos sus condiciones iniciales
Entrada que contiene las graficas de 4 senales de solucion de una ecuación diferencial lineal de coeficientes constantes. -a) B=1, Io=1 -b) B=2, Io=1 -c) B=1, Io=0 -d) B=2, Io=1
a)clear all
format long
t=0:0.000001:10;
I0=1;
B=1;
Ix=I0.*exp(-t);
Iy=B.*(1-exp(-t));
I=Ix+Iy;
plot(t,Ix,'-.g',t,Iy,'--c',t,I,':r')
grid on
axis([0 6.2 0 1.2])
title('Corriente : I0=1;B=1 ')
xlabel('Tiempo(s)')
ylabel('Corriente(A)')
b)clear all
format long
t=0:0.000001:10;
I0=1;
B=2;
Ix=I0.*exp(-t);
Iy=B.*(1-exp(-t));
I=Ix+Iy;
plot(t,Ix,'-.g',t,Iy,'--c',t,I,':r')
grid on
axis([0 6.2 0 2.2])
title('Corriente : I0=1;B=2 ')
xlabel('Tiempo(s)')
ylabel('Corriente(A)')
c)clear all
format long
t=0:0.000001:10;
I0=0;
B=1;
Ix=I0.*exp(-t);
Iy=B.*(1-exp(-t));
I=Ix+Iy;
plot(t,Ix,'-.g',t,Iy,'--c',t,I,':r')
grid on
axis([0 6.2 -0.2 1.2])
title('Corriente : I0=1;B=2 ')
xlabel('Tiempo(s)')
ylabel('Corriente(A)')
d)clear all
format long
t=0:0.000001:10;
I0=0;
B=2;
Ix=I0.*exp(-t);
Iy=B.*(1-exp(-t));
I=Ix+Iy;
plot(t,Ix,'-.g',t,Iy,'--c',t,I,':r')
grid on
axis([0 6.2 -0.2 2.2])
title('Corriente : I0=1;B=2 ')
xlabel('Tiempo(s)')
ylabel('Corriente(A)')