0% found this document useful (0 votes)
3 views

Ejercicios en Matlab

Uploaded by

Luis Pulloquinga
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Ejercicios en Matlab

Uploaded by

Luis Pulloquinga
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

UNIVERSIDAD DE LAS FUERZAS ARMADAS ['ESPE']

NOMBRE: LUIS ALEXANDER PULLOQUINGA ESCOBAR

ASIGNATURA: ANALISIS DE CIRCUITOS ELECTRICOS

NIVEL: CUARTO NIVEL

TEMA: EJERCICIOS DE CIRCUITOS ELECTRICOS EN MATLAB

1Resolucción de ejercicios de Primer Orden


v = dsolve('Dv+4*v=10','v(0)=1')

Warning: Support of character vectors and strings will be removed in a future release. Use sym objects to
define differential equations instead.
v =

t=0:0.1:12;
z=eval(vectorize(v));
plot(t,z)

1
2.-Ejercicio de segundo Orden
i_L=dsolve('D2I_L+9*DI_L+50*I_L=144','I_L(0)=1','DI_L(0)=0.5')

Warning: Support of character vectors and strings will be removed in a future release. Use sym objects to
define differential equations instead.
i_L =

t1=0.8 : 0.9 : 0.10;


z1=eval(vectorize(i_L));
plot(z1)

2
3.- TRASFORMADA DE LAPLACE
syms t
V_c=laplace(10*t)

V_c =

V_b= laplace(10*exp(-4*t))

V_b =

4.- Fracciones Parciales


N=[0 1 4 1];
D=[1 2 1 4];
F=tf(N,D)

F =

s^2 + 4 s + 1
-------------------
s^3 + 2 s^2 + s + 4

3
Continuous-time transfer function.
Model Properties

[p,k,r]=residue(N,D)

p = 3×1 complex
-0.3713 + 0.0000i
0.6856 - 0.3543i
0.6856 + 0.3543i
k = 3×1 complex
-2.3146 + 0.0000i
0.1573 + 1.3052i
0.1573 - 1.3052i
r =

[]

5.-Transformada inversa de Laplace


sym s

ans =

i_(t)=ilaplace(1/(t+2))

i_(t) =

6.- Funciones de Red


%%Raices de un polinomio
%%s^3+10s^2+30s+24
poly=[1 10 30 24];
Raices=roots(poly)

Raices = 3×1
-4.7321
-4.0000
-1.2679

P=[0 4 5 6];
Q=[10 2 3 5];
Tv=tf(P,Q)

Tv =

4 s^2 + 5 s + 6
------------------------
10 s^3 + 2 s^2 + 3 s + 5

Continuous-time transfer function.


Model Properties

pzmap(Tv)

4
bode(Tv)

You might also like