Signal Processing Toolbox    

Delay

The group delay of a filter is a measure of the average delay of the filter as a function of frequency. It is defined as the negative first derivative of a filter's phase response. If the complex frequency response of a filter is , then the group delay is

where is the phase angle of . Compute group delay with

which returns the n-point group delay, , of the digital filter specified by b and a, evaluated at the frequencies in vector w.

The phase delay of a filter is the negative of phase divided by frequency:

To plot both the group and phase delays of a system on the same graph, type


  Magnitude and Phase Zero-Pole Analysis