Please use matlab to solve. Please use matlab to solve. 3). The settling time fo
ID: 665218 • Letter: P
Question
Please use matlab to solve.
Please use matlab to solve. 3). The settling time for a system is defined as the time required for the output to be within a prescribed percentage of the final value. Typical values for settling times are 5%, 2% and 1%. The rise time is the time required to go from 10% to 90% of the final value. Consider the system, G(s) = wn^2/s^2+2 wns+wn^2.Use the step command at the Matlab window to generate the step response of this system for =2/wn,wn= 1,2,4,8. If you generate the plot by the command step (sys), and right click on the figure, you can generate the peak value, the rise time, the time to peak and the 2% settling time. These data are available under characteristics. The points are marked on the plot, and if you place the cursor on the point, the pertinent data is available. Generate the data for the various values of and wn specified. Discuss the results.Explanation / Answer
sys = tf([1 0],[1 2 0]) subplot(211), step(sys) subplot(212), impulse(sys) bode(sys), grid