Question: ONLY PROVIDE THE MATLAB CODE, PLEASE SHOW ALL MATLAB CODE AND CODE OUTPUT: P 4 . 4 Consider the feedback system in Figure CP 4

ONLY PROVIDE THE MATLAB CODE, PLEASE SHOW ALL MATLAB CODE AND CODE OUTPUT: P4.4 Consider the feedback system in Figure CP4.4.
Suppose that the controller is
K=10.
(a) Develop an m-file to compute the closed-loop
transfer function T(s)=YsR(s) and plot the
unit step response. (b) In the same m-file, compute
the transfer function from the disturbance Td(s) to
the output Y(s) and plot the unit step disturbance
response. (c) From the plots in (a) and (b) above, es-
timate the steady-state tracking error to the unit step
input and the steady-state tracking error to the unit
step disturbance input. (d) From the plots in (a) and
(b) above, estimate the maximum tracking error to the
unit step input and the maximum tracking error to the
unit step disturbance input. At approximately what
times do the maximum errors occur?
FIGURE CP4.A
Unity feedback
system with
controller gain K
 ONLY PROVIDE THE MATLAB CODE, PLEASE SHOW ALL MATLAB CODE AND

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!