Why am I getting an error when using the RLOCUS function to find the root locus of my system when using the Control System Toolbox 5.1 (R12.1)?

조회 수: 51 (최근 30일)
Why am I getting an error when using the RLOCUS function to find the root locus of my system when using the Control System Toolbox 5.1 (R12.1)?
Here is my system:
nume=[1 0 1];
dene=conv([1 0],[1 0 4]);
rlocus(nume,dene);
I get the following error upon running the above code
??? Error using ==> eig
NaN or Inf prevents convergence.
RLOCUS works fine with other systems.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 6월 27일
This is a bug in RLOCUS in the Control System Toolbox 5.1 (R12.1) that has been fixed in the Control System Toolbox 5.2 (R13).
As a workaround for R12.1, please explicitly specify the Gain value in the RLOCUS command.
nume=[1 0 1];
dene=conv([1 0],[1 0 4]);
sys = tf(nume,dene);
GainK=0;
rlocus(sys,GainK);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Classical Control Design에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by