Tarea_CD

5

Click here to load reader

Transcript of Tarea_CD

Page 1: Tarea_CD

8/19/2019 Tarea_CD

http://slidepdf.com/reader/full/tareacd 1/5

Santiago Abraham Trejo Maldonado #12060902

6.- Compruebe con Matlab cada uno de los resultados de la

seccion anterior, incluyas todas las instrucciones empleadas y

los resultados obtenidos.

-Se observo que los resultados obtenidos por Matlab presentan

algunas diferencias con los resultados hechos a mano, esto sedebe a que Matlab da como respuesta un resultado equivalente

pero correcto, y de cierta forma multiplica el numerador del

termino por t, esto altera el resultado.

a) G!) para t"#.$ s y a "%>> num1=[0 1]

num1 =

  0 1

>> den1=[1 2]

den1 =

  1 2

>> Gs1=tf(num1,den1)

Gs1 =

 1

  -----  s + 2 Continuous-time transfer function.

>> Ra=c2d(Gs1,0.1,'imu!se')

ans = 

0.1 " + 1.11e-1#  -----------------------  " - 0.$1$# %am!e time& 0.1 secondsiscrete-time transfer function.

Page 2: Tarea_CD

8/19/2019 Tarea_CD

http://slidepdf.com/reader/full/tareacd 2/5

Santiago Abraham Trejo Maldonado #12060902

b) &!) para t"#.$ s y b"'>> num2=[0 0 1]

num2 =

  0 0 1

>> den2=[1 0]

den2 =

  1 0

>> Gs2=tf(num2,den2)

Gs2 =

  1  ---------  s2 + s Continuous-time transfer function.

>> R*=c2d(Gs2,0.1,'imu!se')

ans = 0.00$22 " + 1.$e-1$

  -------------------------------  "2 - 1.# " + 0.#0 %am!e time& 0.1 secondsiscrete-time transfer function.

c) G!)&!) para t"#.$ s, a"% y b"'>>Rc=(Ra)(R*)

Rc = 0.000$22 "2 + 2.#e-1/ " + 2.02e-

  ----------------------------------------------------------  " - 2.$/ "2 + 2.0$ " - 0.$$ %am!e time& 0.1 secondsiscrete-time transfer function.

d) G&!) para t"#.$ s, a"% y b"'

Page 3: Tarea_CD

8/19/2019 Tarea_CD

http://slidepdf.com/reader/full/tareacd 3/5

Santiago Abraham Trejo Maldonado #12060902

>> Gsd=(Gs1)(Gs2)

Gsd = 

1  -----------------------  s + s2 + $ s Continuous-time transfer function.

>> Rd=c2d(Gsd,0.1,'imu!se')

Rd = 0.00010# "2 + 0.000 " + 1./e-1$

  ---------------------------------------------------------  " - 2.$/ "2 + 2.0$ " - 0.$$

 %am!e time& 0.1 secondsiscrete-time transfer function.

e) G!)&!) para t"#.#$ s, a"' y b"%>> num=[0 1]

num =

  0 1

>> den=[1 ]

den =

  1

>> Gs=tf(num,den)

Gs = 

1

  -----  s +  Continuous-time transfer function.

>> Re1=c2d(Gs,0.01,'imu!se')

Re1 =

Page 4: Tarea_CD

8/19/2019 Tarea_CD

http://slidepdf.com/reader/full/tareacd 4/5

Santiago Abraham Trejo Maldonado #12060902

 0.01 "

  ----------  " - 0./0$ %am!e time& 0.01 secondsiscrete-time transfer function.

>> num=[0 0 1]

num =

  0 0 1

>> den=[1 2 0]

den =

  1 2 0

>> Gs=tf(num,den)

Gs = 

1  ---------  s2 + 2 s 

Continuous-time transfer function.

>> Re2=c2d(Gs,0.01,'imu!se')

Re2 = /./01e-0 " - 2.1/$e-20

  -----------------------  "2 - 1./$ " + 0./$02 %am!e time& 0.01 seconds

iscrete-time transfer function.

>> Re=(Re1)(Re2)

Re = 

Page 5: Tarea_CD

8/19/2019 Tarea_CD

http://slidepdf.com/reader/full/tareacd 5/5

Santiago Abraham Trejo Maldonado #12060902

  /./01e-0# "2 - 2.1/$e-22 "  ----------------------------------  " - 2./1 "2 + 2.$$ " - 0./1$ %am!e time& 0.01 secondsiscrete-time transfer function.

f) G&!) para t"#.#$ s, a"' y b"%>> Gsf=(Gs)(Gs)

Gsf = 

1  -----------------------  s + s2 + $ s Continuous-time transfer function.

>> Rf=c2d(Gsf,0.01,'imu!se')

Rf = ./01e-0# "2 + .$0e-0# " - 1.2e-1/

  ---------------------------------------  " - 2./1 "2 + 2.$$ " - 0./1$ %am!e time& 0.01 secondsiscrete-time transfer function.