SignalUtils.FrequencyResponseS Method

procedure FrequencyResponseS(const Num: TVec; const Den: TVec; const Frequencies: TVec; const Response: TVec; alpha: Double);

Analog (s-domain) complex frequency response of a rational transfer function.

#NameTypeDescription
1NumTVec
2DenTVec
3FrequenciesTVec
4ResponseTVec
5alphaDoublescalar

Result: stored in self (calling object)

Remarks:

Evaluates the Laplace-domain transfer function with polynomial Num in the numerator and Den in the denominator at s = alpha + j omega for each angular frequency omega (rad/s) in Frequencies, returning the complex result in Response:

H(s) = Num(s)/Den(s), s = alpha + j omega

The polynomial coefficients are stored highest-power-first (descending), so Den =[1, 1] denotes s+1. Frequencies are typically log-spaced, with more points where the response varies rapidly, but any positive spacing is allowed. The optional alpha shifts the evaluation off the imaginary axis (default 0). Domain: Frequencies must be real (a complex Frequencies vector raises); an empty Frequencies returns an empty Response. A pole of Den hit exactly on the evaluation grid produces an infinite/NaN response entry rather than raising.

See Also: SignalUtils.FrequencyResponse