You are here: Symbol Reference > SignalUtils Namespace > Functions > SignalUtils.FrequencyResponse Function
DSP Master VCL
ContentsIndex
PreviousUpNext
SignalUtils.FrequencyResponse Function

Compute the frequency response.

Pascal
function FrequencyResponse(const Num: TVec; const Den: TVec; const Response: TVec; ZeroPadding: integer = 2; Normalize: boolean = false; WindowType: TSignalWindowType = wtRectangular; WindowParam: double = 40): double; overload;

Computes complex frequency response of the transfer function with Num in the numerator and Den in the denominator. The result is placed in the Response. WindowType specifies the window to be applied and WindowParam is window parameter required by some window types. If denominator is 1 pass nil for Den. The function returns the actual zero padding factor. Actual zero padding will be different from ZeroPadding, if Num and/or Den do not have power of two length. If Normalize is True the, frequency spectrum will be normalized to reflect the true amplitude.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!