Skip to main content
`Ctrl`+`K`
scipy.signal.lti.

# freqresp

lti.freqresp(w=None, n=10000)

  Calculate the frequency response of a continuous-time system.

  Parameters:
    w array_like, optional

      Array of frequencies (in rad/s). Magnitude and phase data is calculated for every value in this array. If not given, a reasonable set will be calculated.

    n int, optional

      Number of frequency points to compute if w is not given. The n frequencies are logarithmically spaced in an interval chosen to include the influence of the poles and zeros of the system. Defaults to 10000.

  Returns:
    w 1D ndarray

      Frequency array [rad/s]

    H 1D ndarray

      Array of complex magnitude values

  See also

  `freqresp`

    Frequency response of continuous-time LTI systems.