Informe

Solo disponible en BuenasTareas
  • Páginas : 3 (629 palabras )
  • Descarga(s) : 0
  • Publicado : 15 de noviembre de 2010
Leer documento completo
Vista previa del texto
a)Funcion de transferencia

> n=[1 2 3]

n =

1 2 3

>> d=[4 1 5 6]

d =

4 1 5 6

>> k=10

k =

10

>> z=[-1;-4;3]

z =

-1

-43

>> d=[0;4;-1+i;-1-i]

d =

0

4.0000

-1.0000 + 1.0000i

-1.0000 - 1.0000i

>> A=[1 2; 0 1]

A =

1 2

0 1

>> B=[1;2]

B =

12

>> C=[1 3;0 1]

C =

1 3

0 1

>> D=[1;0]

D =

1

0

>> G=ss(A,B,C,D)

a =

x1 x2

x1 1 2

x2 0 1

b =u1

x1 1

x2 2

c =

x1 x2

y1 1 3

y2 0 1

d =

u1

y1 1

y2 0

Continuous-time model.

g=[1 2 3]

ng =

1 23

>> dg=[4 15 6]

dg =

4 15 6

>> [nw,dw]=feedback(ng,dg,1,1)

nw =

1 2 3

dw =

5 17 9

B) modelos

b.1) Transfer function(TF)

> n=[12]

n =

1 2

>> d=[1 3 0]

d =

1 3 0

>> G=tf(n,d)

Transfer function:

s + 2

---------

s^2 + 3 s

b.2)Zeros ,polos,ganancia (ZPK)

z=[-1;-3]

z=

-1

-3

>> p=[ 0;-1+3*i;1-3*i;-5]

p =

0

-1.0000 + 3.0000i

1.0000 - 3.0000i

-5.0000

>> k =10

k =

10

>> G=zpk(z,p,k)

Zero/pole/gain:10 (s+1) (s+3)

-----------------------------

s (s+5) (s+(1-3i)) (s-(1-3i))

b.3) Variables de Estadp (SS)

A=[1 2;0 1]

A =

1 2

0 1

>> B=[1 ;2]

B =1

2

>> C=[1 3;0 1]

C =

1 3

0 1

>> D=[1 ;0]

D =

1

0

>> G=ss(A,B,C,D)

a =

x1 x2

x1 1 2

x2 0 1

b=

u1

x1 1

x2 2

c =

x1 x2

y1 1 3

y2 0 1

d =

u1

y1 1

y2 0

Continuous-time model.

ACTIVIDADES

1.-Para...
tracking img