0% found this document useful (0 votes)
25 views1 page

2nd Order System in Matlab

This Matlab code defines a second order system transfer function with damping ratio zeta=0.2 and natural frequency wn=10. It then plots the pole-zero map and step response of the system on specified axes to visualize its frequency and time domain behavior.
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)
25 views1 page

2nd Order System in Matlab

This Matlab code defines a second order system transfer function with damping ratio zeta=0.2 and natural frequency wn=10. It then plots the pole-zero map and step response of the system on specified axes to visualize its frequency and time domain behavior.
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/ 1

2nd Order System in Matlab

k_dc = 1;
w_n = 10;
zeta = 0.2;

s = tf('s');
G1 = k_dc*w_n^2/(s^2 + 2*zeta*w_n*s + w_n^2);
pzmap(G1)
axis([-3 1 -15 15])
step(G1)
axis([0 3 0 2])

You might also like