You are on page 1of 3

UNIVERSIDAD TÉCNICA DE COTOPAXI

CÓDIGOS MATLAB PAPER

% FUNCION DE TRASNFERENCIA
ga= 1.5;
ki=[-1 1];
kp=[1 1];
G1=tf(ki,kp)

G1 =

-s + 1
------
s + 1

Continuous-time transfer function.

a=[1];
b=[0.2 1];
G2=tf(a,b)

G2 =

1
---------
0.2 s + 1

Continuous-time transfer function.

c=[12*ga 1];
d=[12 1];
G3= tf(c,d)

G3 =

18 s + 1
--------
12 s + 1

Continuous-time transfer function.

d=[1];
e=[0.3 1];
G4=tf(d,e)

G4 =

1
---------
0.3 s + 1

Continuous-time transfer function.

G5=tf((G1+(G2*G3*G4)))

G5 =

1
-0.72 s^4 - 5.34 s^3 + 11.56 s^2 + 30.5 s + 2
---------------------------------------------
0.72 s^4 + 6.78 s^3 + 18.56 s^2 + 13.5 s + 1

Continuous-time transfer function.

% GRAFICA DE ESTABILIDAD
step(G5)

% METODO DE NYQUIST
nyquist(G5)

% METODO DE BODE
bode(G5)

2
% METODO DE HURWITZ
rlocus(G5)

You might also like