g_margin(1)

NAME
g_margin - gain margin

CALLING SEQUENCE
[gm [,fr])=g_margin(h)

PARAMETERS

h   : syslin list representing a linear system in state-space or transfer form

DESCRIPTION
returns gm, the gain margin (dB) of h (SISO plant) and fr, the achieved corresponding frequency.

SEE ALSO
p_margin, black, chart