scipy.signal.lti.

freqresp#

lti.freqresp(w=None, n=10000)[source]#

Calculate the frequency response of a continuous-time system.

Parameters:
warray_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.

nint, 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:
w1D ndarray

Frequency array [rad/s]

H1D ndarray

Array of complex magnitude values

See also

freqresp

Frequency response of continuous-time LTI systems.