Use MATLAB to plot the root locus of
Provide the commands you used and a copy of root locus figure.Also calculate the angles that the root locus leaves the complexpoles. Use sgrid to plot lines of 0.7, 0.8, 0.9, and 0.99 and circles of 2, 4, and 6. Provide command and plot of root locus withsgrid. Click on the root locus to determine the gain (K) where =0.9 and = 0.99 intersect the root locus. Simulate the closed-loopsystem in Simulink with both gain values. Provide a screenshot
OR
OR