对离散系统,使用rlocus画根轨迹,然后用grid on即可得到类似的根轨迹图。
示例:
z=tf('z');G=(z^2-1.8*z+1)/(z*(z-1)*(z^2-1.7*z+1));rlocus(G)grid onset(gca,'DataAspectRatio',[1 1 1])ylim([-1 1])