SignalUtils::FrequencyResponseS Function

void FrequencyResponseS(TVec *Num, TVec *Den, TVec *Frequencies, TVec *Response, double alpha = 0);

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

#NameTypeDescription
1NumTVec *
2DenTVec *
3FrequenciesTVec *
4ResponseTVec *
5alpha = 0double
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
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler