SignalUtils.GroupDelay Method

procedure GroupDelay(GrpDelay: TVec; Num: TVec; Den: TVec; ZeroPadding: Integer);

Computes the group delay of IIR filters.

#NameTypeDescription
1GrpDelayTVecsource TVec
2NumTVecsource TVec
3DenTVecsource TVec
4ZeroPaddingInteger

Result: stored in self (calling object)

Remarks:

Num holds the numerator and Den the denominator of the transfer function for which the group delay should be computed. Den can be nil. Zeropadding defines the amount of zero padding applied with FFT. The result is placed in GrpDelay. Group delay is the first derivate of continuous phase: g = (d/dw)Phase, where w is the frequency ([1] p. 201).

References:

[1] Understanding digital signal processing, Richard G. Lyons, Prentice-Hall, 2001. Advanced sampling techniques

See Also: SignalUtils.FrequencyResponse, SignalUtils.PhaseUnwrap