Scilab Function

g_margin - gain margin

Calling Sequence

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

Parameters

Description

returns gm, the gain margin in dB of h (SISO plant) and fr, the achieved corresponding frequency in hz. The gain margin is values of the system gain at points where the nyquist plot crosses the negative real axis.

Examples

See Also