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!