代码如下:

% 定义系统传递函数 num = [5 1]; den = [1 4 0]; G = tf(num, den);

num = [1 1]; den = [1 5 6]; H = tf(num, den);

% 绘制根轨迹图 rlocus(G*H);

% 设定坐标轴范围 axis([-6 2 -3 3]);

% 添加标签 title('Root Locus'); xlabel('Real Axis'); ylabel('Imaginary Axis');

系统结构图如下用matlab编程完成用定义直接绘制根轨迹图。→Rs→→Ks+5ss+4s-----------------→Cs→ ↑-↓------------------1---------------- _+ ----

原文地址: https://www.cveoy.top/t/topic/fG45 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录