You are on page 1of 5

23/03/17 10:26 PM MATLAB Command Window 1 of 5

>> s=tf('s')

s =

Continuous-time transfer function.

>> gna=9/(s^2+9)

gna =

9
-------
s^2 + 9

Continuous-time transfer function.

>> step(gna)

>> gca=9/(s^2+6*s+9)

gca =

9
-------------
s^2 + 6 s + 9

Continuous-time transfer function.

>> step(gca)
>> pzmap(gna)
>> gsa=9/(s^2+10*s+9)

gsa =

9
--------------
s^2 + 10 s + 9
23/03/17 10:26 PM MATLAB Command Window 2 of 5

Continuous-time transfer function.

>> step(gsa)
>> pzmap(gsa)
>> gsua=9/(s^2+s+9)

gsua =

9
-----------
s^2 + s + 9

Continuous-time transfer function.

>> step(gsua)
>> pzmap(gsa)
>> subplot(2,2,1), plot(gna), title('No Amortiguado')
>> subplot(2,2,1), plot(s,gna), title(

>> subplot(2,2,1), step(gna), title('No Amortiguado')


>> subplot(2,2,2), step(gca), title('Criticamente Amortiguado')
>> subplot(2,2,3), step(gsa), title('Sub Amortiguado')
>> subplot(2,2,4), step(gsua), title('Sub Amortiguado')
>>
>> subplot(2,2,3), step(gsa), title('Sobre Amortiguado')
23/03/17 10:26 PM MATLAB Command Window 3 of 5

>> subplot(2,2,1), pzmap(gna), title('No Amortiguado')


>> subplot(2,2,2), pzmap(gca), title('Criticamente Amortiguado')
>> subplot(2,2,3), pzmap(gsa), title('Sobre Amortiguado')
>> subplot(2,2,4), pzmap(gsua), title('Sub Amortiguado')
>> gsua1=9/(s^2+s+32)

gsua1 =

9
------------
s^2 + s + 32

Continuous-time transfer function.

>> step(gsua1)
>> step(gsua1)
>> gsua1=9/(s^2+s+56.25)

gsua1 =

9
---------------
s^2 + s + 56.25

Continuous-time transfer function.

>> gsua1=9/(s^2+s+32)

gsua1 =

9
------------
s^2 + s + 32

Continuous-time transfer function.

>> gsua2=9/(s^2+s+32)

gsua2 =

9
------------
s^2 + s + 32

Continuous-time transfer function.

>> step(gsua2)
>> step(gsua2)
>> gsua2=9/(s^2+s+56.25)

gsua2 =

9
23/03/17 10:26 PM MATLAB Command Window 4 of 5

---------------
s^2 + s + 56.25

Continuous-time transfer function.

>> step(gsua2)
>> gsua2=9/(s^2+s+12.25)

gsua2 =

9
---------------
s^2 + s + 12.25

Continuous-time transfer function.

>> step(gsua2)
>> gsua3=9/(s^2+s+16)

gsua3 =

9
------------
s^2 + s + 16

Continuous-time transfer function.

>> step(gsua3)
>> gsua3=9/(s^2+s+25)

gsua3 =

9
------------
s^2 + s + 25

Continuous-time transfer function.

>> gsua3=9/(s^2+s+16)

gsua3 =

9
------------
s^2 + s + 16

Continuous-time transfer function.

>> gsua4=9/(s^2+s+25)

gsua4 =

9
------------
s^2 + s + 25
23/03/17 10:26 PM MATLAB Command Window 5 of 5

Continuous-time transfer function.

>> step(gsua4)
>> gsua5=9/(s^2+s+81)

gsua5 =

9
------------
s^2 + s + 81

Continuous-time transfer function.

>> step(gsua5)
>> subplot(2,2,1), step(gsua1), title('cita=6')
>> subplot(2,2,1), step(gsua1), title('cita=1/12')
>> subplot(2,2,2), step(gsua2), title('cita=1/7')
>> subplot(2,2,2), step(gsua3), title('cita=1/8')
>> subplot(2,2,2), step(gsua2), title('cita=1/7')
>> subplot(2,2,3), step(gsua3), title('cita=1/8')
>> subplot(2,2,4), step(gsua4), title('cita=1/10')
>> step(gsua5)
>> step(gsua5)title('cita=9')
step(gsua5)title('cita=9')

Error: Unexpected MATLAB expression.

Did you mean:


>> step(gsua5),title('cita = 9')
>> hold on
>> step(gsua1),title('cita')
>> step(gsua2),title('cita')
>> step(gsua3),title('cita')
>> step(gsua4),title('cita')
>> step(gsua5),title('cita')
>> hold off
>> hold on
>> step(gsua1),title('cita')
>> step(gsua2),title('cita')
>> step(gsua3),title('cita')
>> step(gsua4),title('cita')
>> step(gsua5),title('cita')
>>

You might also like