GainMargins[lsys]
gives the gain margins of the linear time-invariant system lsys.


GainMargins
GainMargins[lsys]
gives the gain margins of the linear time-invariant system lsys.
Details and Options

- The system lsys can be a TransferFunctionModel or a StateSpaceModel.
- The gain margins are the reciprocals of the magnitude of lsys at the phase crossover frequencies.
- At the phase crossover frequencies lsys has phase
.
- GainMargins returns {{ωp1,g1},{ωp2,g2},…}, where ωpi are the phase crossover frequencies, and gi are the absolute values of the gain margins.
- GainMargins has the same options as GainPhaseMargins.
- GainMargins has the attribute Listable.
List of all options

Examples
open all close allBasic Examples (3)
Generalizations & Extensions (1)
GainMargins[TransferFunctionModel[g,var]] is equivalent to GainMargins[g]:
Related Guides
History
Text
Wolfram Research (2010), GainMargins, Wolfram Language function, https://reference.wolfram.com/language/ref/GainMargins.html.
CMS
Wolfram Language. 2010. "GainMargins." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GainMargins.html.
APA
Wolfram Language. (2010). GainMargins. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GainMargins.html
BibTeX
@misc{reference.wolfram_2025_gainmargins, author="Wolfram Research", title="{GainMargins}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/GainMargins.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_gainmargins, organization={Wolfram Research}, title={GainMargins}, year={2010}, url={https://reference.wolfram.com/language/ref/GainMargins.html}, note=[Accessed: 15-August-2025]}