SignalUtils::GroupDelay Function

void GroupDelay(TVec *GrpDelay, TVec *Num, TVec *Den = null, int ZeroPadding = 1);

Computes the group delay of IIR filters.

#NameTypeDescription
1GrpDelayTVec *
2NumTVec *
3Den = nullTVec *
4ZeroPadding = 1int
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
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler