In the previous post An Introduction to compensator Design with matlab we saw an introduction to compensators. In this post we will deal with lag compensator design with frequency domain specifications. The steps to design the lag Compensator are Determine K from the error constatns given Sketch the bode plot Determine phase margin if it is not …