control.phase_crossover_frequencies

control.phase_crossover_frequencies(sys)[source]

Compute frequencies and gains at intersections with real axis in Nyquist plot.

Parameters

sys (SISO LTI system) –

Returns

  • omega (ndarray) – 1d array of (non-negative) frequencies where Nyquist plot intersects the real axis

  • gain (ndarray) – 1d array of corresponding gains

Examples

>>> G = ct.tf([1], [1, 2, 3, 4])
>>> x_omega, x_gain = ct.phase_crossover_frequencies(G)