Question

In: Electrical Engineering

H(s)G(s) = 30(s+2)/(s^3+7s^2+12s) In MATLAB, Use the function margin to plot log-magnitude, phase, gain margin, phase...

H(s)G(s) = 30(s+2)/(s^3+7s^2+12s)

In MATLAB, Use the function margin to plot log-magnitude, phase, gain margin, phase margin. Do not use the function bode.


I graphed it using margin, but how do I just get the phase? I got the gain margin, phase margin, and the cross over frequencies. Thanks

Solutions

Expert Solution

to draw plot without using bode command:

RESULT:



Related Solutions

USING MATLAB Q2. Determine and plot the frequency response function H(e^jw) (magnitude and phase normalized in...
USING MATLAB Q2. Determine and plot the frequency response function H(e^jw) (magnitude and phase normalized in w). Choose n = [-20, 20]. 1. h(n) = (0.9)^│n│ 2. h(n) = [ (0.5)^n + (0.4)^n] u(n) USING MATLAB
9. The purpose of this problem is to use MATLAB to compute the magnitude, phase, and...
9. The purpose of this problem is to use MATLAB to compute the magnitude, phase, and total energy of a Fourier transform. a) Develop a MATLAB routine to plot the magnitude and phase of a given Fourier transform H(jω). The input part of your program will, of course, require that you specify the particular H(jω) of interest, but, once this is done, your program should not depend on the Fourier transform specified. You will need to select an appropriate range...
Fe2O3(s) + 3 CO(g) —> 2 Fe(s) + 3 CO2(g) delta H = ___ a. Calculate...
Fe2O3(s) + 3 CO(g) —> 2 Fe(s) + 3 CO2(g) delta H = ___ a. Calculate delta H for the reaction above using the following know thermochemical reactions 2Fe(s) + 3/2 O2(g) —> Fe2O3(s) delta h=-824.2 kJ CO(g) + 1/2 O2(g) —> CO2(g) delta h=-282.7. b. Is this reaction endothermic, exothermic, or both? How do you know?
Please use MATLAB. Write a program to plot the piecewise function using IF statements and a...
Please use MATLAB. Write a program to plot the piecewise function using IF statements and a FOR loop in MatLab. Use x as the input vector. Plot from -20<=x<=20, increment of 1.   y =   4 x + 10 ,             ? ≥ 9,                   y =      5? + 5,                   0 ≤ ? < 9,                    y =     ?2 + 6? + 8, ? < 0 Plot each segment of the fn with different shaped points and a different color, for...
Consider the unity feedback negative system with an open-loop function G(s)= K (s^2+10s+24)/(s^2+3s+2). a. Plot the...
Consider the unity feedback negative system with an open-loop function G(s)= K (s^2+10s+24)/(s^2+3s+2). a. Plot the locations of open-loop poles with X and zeros with O on an s-plane. b. Find the number of segments in the root locus diagram based on the number of poles and zeros. c. The breakaway point (the point at which the two real poles meet and diverge to become complex conjugates) occurs when K = 0.02276. Show that the closed-loop system has repeated poles...
Use MATLAB to plot the likelihood function for estimating the probability of a coin landing heads-up...
Use MATLAB to plot the likelihood function for estimating the probability of a coin landing heads-up without prior knowledge after observing HTHT. -would greatly appreciate if you went in detail on how to find the likelihood function based off the given information.
Calculate the ΔH for the reaction. ​2 C (s) + 3 H​2 (g) + 1/2 O​2...
Calculate the ΔH for the reaction. ​2 C (s) + 3 H​2 (g) + 1/2 O​2 (g) = C​2H​5OH (l) ​Given the following information: ​C (s) + O​2 (g) = CO​2 (g)                    ΔH​ = -393.5 KJ/mole ​2 H​2 (g) + O​2 (g) = 2 H​2O (l)                ΔH = -571.6 KJ/mole ​C​2H​5OH (l) + 3 O​2 (g) = 2 CO​2 (g) + 3 H​2O (l)   ΔH​ = -1367.5 KJ/mole
given the transfer function G(s) = (1.151 s + 0.1774)/(s^3 + 0.739 s^2 + 0.921 s),...
given the transfer function G(s) = (1.151 s + 0.1774)/(s^3 + 0.739 s^2 + 0.921 s), write the state equations x'= Ax + Bu + Dw , and y = Cx for the system .
Please show MATLAB code to plot below function from x = −3 to x = 12:...
Please show MATLAB code to plot below function from x = −3 to x = 12: function f = piecewise(x) % implements piecewise function using if statements if x < 0     f = -x^3 - 2*x^2 + 3*x; elseif x <= 8     f = (12/pi) * sin(pi*x/4); else     f = (600*exp(x-8))/(7*(14 + 6*exp(x-8))) -30/7; end
At a certain temperature, the Kp for the decomposition of H2S is 0.846. H​2​S(g) <---> ​H​2...
At a certain temperature, the Kp for the decomposition of H2S is 0.846. H​2​S(g) <---> ​H​2 (g) ​+ S (g)​   Initially, only H2S is present at a pressure of 0.161 atm in a closed container. What is the total pressure in the container at equilibrium? (in atm)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT