Obtain a closed-loop transfer function for the negative unity-feedback control system whose open-loop transfer function is 10 G(s) = s^2 + 2s + 4.
(a) In your MATLAB code, compute the closed-loop transfer function. Assign it to the variable name GCL.
(b) Plot the unit-step response curve for the unity-feedback control system.
(c) Obtain also the rise time Tr, peak time Tp, maximum percent overshoot Mp, and settling time Ts (use the 2% error criterion) in the unit-step response curve.
Notes:
1. For determining the rise time, use the 10% to 90% criterion for an overdamped system.
2. Must include MATLAB functions tf and step in your code.
3. Other useful functions are find, max, and while.
4. Use variables GCL, Tr, Tp, Mp, and Ts for assessment purposes.