Matlab验证如下:
%Use Matlab to test
wn = [ 2 ];
kos = [ 0.6 ];
%the transfer function of closed loop
num = wn^2;
den = [ 1 , 2 * kos * wn , wn^2 ];
figure
t = 0 : 0.02 : 8 ;
%step response of system
step( num ,den ,t );
grid
Matlab验证如下:
%Use Matlab to test
wn = [ 2 ];
kos = [ 0.6 ];
%the transfer function of closed loop
num = wn^2;
den = [ 1 , 2 * kos * wn , wn^2 ];
figure
t = 0 : 0.02 : 8 ;
%step response of system
step( num ,den ,t );
grid