You are on page 1of 7

%entrada escalon de amplitud A

>> A=1;
>> K=1;
>> for T=1:1:7
g=tf(A*K,[T 1])
figure(1)
step(g)
hold on
end
g=

1
-----
s+1
Continuous-time transfer function.
g=

1
-------
2s+1
Continuous-time transfer function.
g=

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

Continuous-time transfer function.

g=

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

Continuous-time transfer function.


g=

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

Continuous-time transfer function.


g=

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

Continuous-time transfer function.


g=

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

Continuous-time transfer function.

>> legend('T=1','T=2','T=3','T=4','T=5','T=6','T=7',-1);
>> %LUIS ALEX COLLAVE GARCIA 0920377
>> %LUIS ALEX COLLAVE GARCIA
>> %SISTEMA DE SEGUNDO ORDEN
>> %ENTRADA ESCALON AMPLITUD A
>> A=1;
>> wn=1;
>> K=1

K=

>> for z=0.1:0.1:0.9


f=tf(A*K*wn^2,[1 2*z*wn wn^2])
figure(2)
step(f)
hold on
end

f=

1
---------------
s^2 + 0.2 s + 1

Continuous-time transfer function.

f=

1
---------------
s^2 + 0.4 s + 1

Continuous-time transfer function.

f=

1
---------------
s^2 + 0.6 s + 1

Continuous-time transfer function.

f=

1
---------------
s^2 + 0.8 s + 1

Continuous-time transfer function.


f=

1
-----------
s^2 + s + 1

Continuous-time transfer function.

f=

1
---------------
s^2 + 1.2 s + 1

Continuous-time transfer function.

f=

1
---------------
s^2 + 1.4 s + 1

Continuous-time transfer function.

f=

1
---------------
s^2 + 1.6 s + 1

Continuous-time transfer function.

f=

1
---------------
s^2 + 1.8 s + 1

Continuous-time transfer function.

>> legend('z=0.1','z=0.2','z=0.3','z=0.4','z=0.5','z=0.6','z=0.7',-1);
>> %LUIS ALEX COLLAVE GARCIA

You might also like