2010. 1. 17. 10:47

[MATLAB] rlocus를 이용해 root locus 그리기

\begin{align*} G(s) = \frac{s + 3}{s^{2} + 3s + 2} \end{align*}

소스


clear all
num = [1 3]; %전달함수의 분자의 계수
den = [1 3 2]; %전달함수의 분모의 계수
G = tf(num,den);
rlocus(G);
axis('equal'); %좌표축 간격을 일정하게 세팅



결과
사용자 삽입 이미지