Why is the gain margin returned by the MARGIN function in the Control Systems Toolbox different than the gain margin shown in the associated bode plot?
조회 수: 4 (최근 30일)
이전 댓글 표시
When I compare the gain margin returned by the MARGIN command to that shown in the Bode plot produced by the same command, I notice that they are not the same.
The gain margin Gm returned by the MARGIN command:
[Gm,Pm,Wg,Wp] = margin(sys)
is unitless. The gain margin shown in the bode plot produced by the command:
margin(sys)
has units of dB.
채택된 답변
MathWorks Support Team
2009년 6월 27일
This enhancement has been incorporated in Release 2006a (R2006a). For previous product releases, read below for any possible workarounds:
To convert the gain margin Gm to have units in dB, use the following code:
Gm_dB = 20*log10(Gm)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Control System Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!