XML
Laplace.T Root-locus Transient response Frecuency response
       
 
 
 

1 Program 5.3 Ogata 4edition (second-order system )



Let us enter the value of undamped natural frecuecy $\omega_{n}=5$ rad/seg and damping ratio $\zeta=0.4$ by Scilab

\begin{displaymath}G(s)=\frac{\omega_{n}^{2}}{(s^{2}+2\cdot \zeta \cdot \omega \cdot s+\omega_{n}^{2})}\end{displaymath}


Program in Scilab:
wn=5;
zeta=0.4;
num=wn^2;
s=poly(0,'s');
den=[s^2+2*wn*zeta*s+wn^2];
g=[num/den]
Result
g=
1
--------------
s^2 + 4 s + 25