How do you do this in Matlab? PLEASE DO IN MATLAB, SINCE I NEED THE CODE, THANKS EXTRA PLEASE:

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

How do you do this in Matlab? PLEASE DO IN MATLAB, SINCE I NEED THE CODE, THANKS EXTRA PLEASE:

Post by answerhappygod »

How do you do this in Matlab?
PLEASE DO IN MATLAB, SINCE I NEED THE CODE, THANKS
How Do You Do This In Matlab Please Do In Matlab Since I Need The Code Thanks Extra Please 1
How Do You Do This In Matlab Please Do In Matlab Since I Need The Code Thanks Extra Please 1 (137.42 KiB) Viewed 22 times
EXTRA PLEASE:
How Do You Do This In Matlab Please Do In Matlab Since I Need The Code Thanks Extra Please 2
How Do You Do This In Matlab Please Do In Matlab Since I Need The Code Thanks Extra Please 2 (35.6 KiB) Viewed 22 times
How Do You Do This In Matlab Please Do In Matlab Since I Need The Code Thanks Extra Please 3
How Do You Do This In Matlab Please Do In Matlab Since I Need The Code Thanks Extra Please 3 (31.67 KiB) Viewed 22 times
Experiment 2 Consider the system shown in the figure below. R(s) E(s) C(s) Where, K G(s) = H(s) = s² - 6s + 16 s² + 4s + 10 (s+4)(s+7) In this experiment we are going to investigate the effect of increasing system gain K on the resulting response, closed-loop pole locations, and the stability of the system. a) For some K value, find the closed-loop transfer function, and the closed-loop poles. b) Determine from the location of those poles, whether your system is stable. Output a message like: "Stable / Unstable at < Kvalue> with largest pole at < polevalue>" c) Have your program run in a loop for K values ranging from 0 to 40 (steps of 0.1). 3 d) Determine the gain Kcr, that takes the system to critical oscillations. To do this, determine the K value between that resulting in stable and unstable system. e) Plot the step response and pole locations for a value of K = Kcr - 2. f) Plot the step response and pole locations for a value of K = Kcr. Hint: use the Matlab command "step(Ts,tfinal)" where Ts is your closed-loop transfer function and tfinal is the final time value in seconds. g) Plot the step response and pole locations for a value of K = Kcr + 2. h) Plot the system poles (on one graph) for 40 values of K, starting with K = 1 to K = 40, to create a path of the system pole changes. i) Answer the questions in your worksheet. G(s) H(s)
a) Modify your program from experiment 2 to automatically determine the critical gain K, and report a message such as: "Change in stability at K =< Kvalue >" where Kvalue is the mean of K values either side of the stability boundary. b) Now modify your program report a message such as "Stability region: K<or > < Kvalue >"
Useful MATLAB instructions The following (previously used) MATLAB commands might be useful in this lab: conj, poly, tf, step, feedback, roots, zero, pole, tfdata, pzmap. A concise description of each MATLAB command can be obtained by using the "help" command, e.g., "help conj".
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply