How to design lead compensator using root locus matlab?
In MATLAB a phase-lead compensator in root locus form is implemented using the following commands (where Kc, z, and p are defined). s = tf('s'); C_lead = Kc*(s-z)/(s-p); We can interconnect this compensator C(s) with a plant P(s) using the following code.
How do you find the angle deficiency?
Definition: The angle deficiency at a vertex is 360^\circ minus (the angle sum at the vertex).