DewDSPMasterNET
FrequencyResponse Routine
Summary
Compute the frequency response.

Unit
SignalUtils

Declaration
Function FrequencyResponse(Num, Den, Response: TVec; ZeroPadding: integer = 2; Normalize: boolean = false; WindowType: TSignalWindowType = wtRectangular; WindowParam: TSample = 40): TSample;

Description
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.
Categories
Frequency analysis
 See Also 
FrequencyResponseS 

Copyright 2008 Dew Research
http://www.dewresearch.com