Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

use Matla.... i solve for part a but i need for part b how tho solve it in Matla

ID: 2078947 • Letter: U

Question

use Matla.... i solve for part a but i need for part b how tho solve it in Matlab

the code for part a is like this

clc
close all
clear all

g1=1

num=[200]
den=[1 12 100]
g2=tf(num,den)

num1=[400]
den1=[1 5 0]
g3=tf(num1,den1)
h=1

g12=series(g1,g2)
g123=series(g12,g3)

rlocus(g123)

%%
g1= 0.0129
g20=series(g1,g2)
g21=series(g20,g3)
g22=feedback(g21,h)
step(g22)

Use only frequency response techniques to do the following Find the value of gain, K, to yield a closed-loop step response with 12% overshoot. Estimate peak time and settling time using the gain-compensated frequency response.

Explanation / Answer

Add a line further to the above script in MATLAB as below and run:

S = stepinfo(g22,'RiseTimeLimits',[0.05,0.95])

The output of the programme will give the following results:

S =

RiseTime: 0.6636
SettlingTime: 1.9732
SettlingMin: 0.9509
SettlingMax: 1.1226
Overshoot: 12.2595
Undershoot: 0
Peak: 1.1226
PeakTime: 1.3169