Different margins using Bode and allmargin
10 views (last 30 days)
Show older comments
Patrick Snitjer on 19 Dec 2022
I have this weird problem that I cannot wrap my head around.
I have a transfer function of which I would like to know the stability margins.
Using the bode plot, the minnimum gain margin is 21 dB at a frequency of 6.9e3 rad/s. Using the allmargin function (and the standard margin function), the smallest gain margin is given as 11 dB at 6.9e3 rad/s.
Looking further, all of the frequencies of the margins are the same between the bode and margin functions, but the margins themselves differ. Except the phase margin, which is similar.
Which one can I trust the most?
Find more on Frequency-Domain Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!