Let us now use MATLAB to design a digital lead compensator. The s-plane design was performed in Example 9.6. Here we convert the design to the zplane and run a digital simulation of the step response. Conversion of the s-plane lead compensator, Gc(s)=numgcs/dengcs, to the z-plane compensator, Gc(z)=numgcz/ dengcz, is accomplished using the Gcz=c2d (numgcs, dengcs, T, ‘ tustin’) command to perform a Tustin transformation, where T=sampling interval, which for this example is 1/300. This exercise solves Example 13.12 using MATLAB.