Can you please do this problem in Matlab and show code too?
125 Points
uauster function 9 -10s+1s+0.01 8. s+2s+2s+0.02s+0.0101
where is the pitch rate (rad/s) and is the elevator deflection (rad). The four poles represent the phugoid and short-period modes. The phugoid mode has a natural frequency of 0.1 rad/s, and the short period mode is 1.4 rad/s. The block diagram is shown in Figure CP10.4. (a) Let the lead compensator be G=K+z s+p where Iz<Ipl. Using Bode plot methods, design the lead compensator to meet the following specifications: 1 settling time with a 2% criterion to a unit step less than 2 seconds, and (2) percent overshoot less than 10%. (b) Simulate the closed-loop system with a step input of 10/second, and show the time history of e.
Lead compensator G(s)
Actuator
Aircraft
FIGURE CP10.4 An aircraft pitch rate feedback control system.
-10 8 s+10
-10(s+1(s+0.01
(s+2s+2s+0.02s+0.0101