CME7.1 - %- % CME 7.1 %- a) PO = 1; ts = 1; % Specify...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 %------------------------------------------------------ % CME 7.1 %------------------------------------------------------ a) PO = 1 % overshoot and settling % time term = pi^2 + log(PO/100)^2 zeta = log(PO/100)/sqrt(term) % Damping ratio from PO wn = 4/(zeta*ts) % Natural frequency from % settling time and zeta num = wn^2 % second-order system den = [1 2*zeta*wn wn^2] DesEig = roots(den)% Desired control law % eigenvalues Des = tf(num,den) % from num2 and den2 figure td = [0:0.01:2] step(Des,td) b) PO = 1 % overshoot and settling % time term = pi^2 + log(PO/100)^2 zeta = log(PO/100)/sqrt(term) wn = 4/(zeta*ts) num = wn^2 den = [1 1.4*-wn wn^2] DesEig = roots(den)% Desired control law % eigenvalues Des = tf(num,den) % from num2 and den2 figure td = [0:0.01:2] step(Des,td) c) A = [-1 0 B = [1 C = [1 -(sqrt(2)/2)]
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Sheet1 Page 2 D = [0] PO = 1 % overshoot and settling % time term = pi^2 + log(PO/100)^2 zeta = log(PO/100)/sqrt(term) % Damping ratio from PO wn = 4/(zeta*ts) % Natural frequency from
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

CME7.1 - %- % CME 7.1 %- a) PO = 1; ts = 1; % Specify...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online