For the Matlab bode diagram, normally when we want to obtain the gain margin, we have to cross the line from phase -180 and touch the curve. (Picture1 is what I did) however from the matlab, the gain margin crossover is start from -540 instead of -180 degree by using "Margin" function(Picture2 is what Matlab shown).(adsbygoogle = window.adsbygoogle || []).push({});

Attached is the problem's picture, may I know should I stick with -180 like the "picture1" ? or just follow what the Matlab show which is -540?

What i guess is, due to the gain margin is positive, thus the system auto change to -540 so the gain margin will be negative? Does this make any sense?

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab Gain Margin problem.

Loading...

Similar Threads for Matlab Gain Margin |
---|

Phase and Gain alignment |

Autocorrelation in Matlab |

Nyquist and FM and Signal Mixing... |

Electric field of AC source |

Matlab Derivative block analysis and filter design |

**Physics Forums | Science Articles, Homework Help, Discussion**