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 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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.
Risposta accettata
MathWorks Support Team
il 27 Giu 2009
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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Get Started with Control System Toolbox in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!