0% found this document useful (0 votes)
24 views6 pages

Control Lab 3

The document discusses different types of inputs - including impulse, step, and ramp inputs - and the responses of systems to those inputs. It provides examples of coding in MATLAB to model second-order systems and plot their responses for different values of damping ratios.

Uploaded by

Alexis Ñacato
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views6 pages

Control Lab 3

The document discusses different types of inputs - including impulse, step, and ramp inputs - and the responses of systems to those inputs. It provides examples of coding in MATLAB to model second-order systems and plot their responses for different values of damping ratios.

Uploaded by

Alexis Ñacato
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Sistema crticamente estable

delta=0

impulso unitario:
num=[1 0];
den=[1 0 1];
step(num,den);
grid
title('Respuesta a un impulso unitario de sG(s)%s/(sp2!0.2s!1)')
>>

escaln unitario

>> wn=5

wn =

>> damping_ratio=0;

>> [num0,den]=ord2(wn,damping_ratio);
>> num=5^2*num0;
>> printsys(num,den,'s');

num/den =

25
-------s^2 + 25
>> step(num,den)
>>

rampa:

>> num=[2 1];


>> den=[1 0 1];
>> t=0:0.1:10;
>> c=step(num,den,t);
>> plot(t,c,'o',t,t,'-')
>> plot(t,c,'o',t,t,'-')
>> plot(t,c,'o',t,t,'-')
>>

Prabola:

0<delta<1 (sistemas sub-amortiguados)

impulso unitario:

>> num=[1 0];


den=[1 0.5 1];
step(num,den);
grid
title('Respuesta a un impulso unitario de sG(s)=s/(sp2!0.2s!1)')
>>

escaln unitario:

rampa:

>> num=[2 1];


den=[1 0.5 1];
t=0:0.1:10;
c=step(num,den,t);
plot(t,c,'o',t,t,'-')
plot(t,c,'o',t,t,'-')
plot(t,c,'o',t,t,'-')
>> num=[1];
den=[1 0.5 1];
t=0:0.1:10;
c=step(num,den,t);

plot(t,c,'o',t,t,'-')
plot(t,c,'o',t,t,'-')
plot(t,c,'o',t,t,'-')
>>

You might also like