By: Nima Fouladinejad Mat. No: MM081053 Email: Nima.Fouladinejad@gmail.com
0.002 s^3 + 0.12 s^2 + s>> nyquist(G)%command to Draw the Nyquist diagramAnd here is the MATLAB Nyquist diagram for this exercise. You can see the Gain Margin, PhaseMargin, correspond frequency and the stability of the system in the figure.
For the control system shown below, plot the Nyquist diagram for K=1, and obtain the gain marginand phase margin. Verify the answer by calculation.
The transfer function is like this.
We can simply use this transfer function and draw the Nyquist diagram in MATLAB as follow.>> s=tf('s')%to identify the transfer function variable Transfer function:s>> G=10/((s*(1+0.1*s)*(1+0.02*s))+10)%write the transfer function in MATLAB Transfer function: