Filter group delay
[gd,w]=grpdelay(hfilt)
[gd,w]=grpdelay(hfilt,n)
grpdelay(hfilt)
[gd,w]
= grpdelay(hs)
[gd,w]
= grpdelay(hs,n)
[gd,w] =
grpdelay(hs,Name,Value)
grpdelay(hs)
grpdelay
returns the group delay based
on the current filter coefficients. This section describes common grpdelay
operation
with discretetime filters, multirate filters, and filter System objects.
For more input options, refer to grpdelay
in Signal Processing Toolbox™ documentation.
[
returns
the group delay, which is the derivative of the phase response gd
,w
]=grpdelay(hfilt
)phi
of
the filter hfilt
, and the corresponding frequencies w
at
which the function evaluates the group delay. Group delay is
$$\frac{d}{dw}(angle(w))$$
The group delay is evaluated at 8192 points equally spaced around the upper half of the unit circle.
[
returns
the group delay gd
,w
]=grpdelay(hfilt
,n
)gd
of the filter hfilt
and
the corresponding frequencies w
at which the function
evaluates the group delay. The group delay is evaluated at n
points
equally spaced around the upper half of the unit circle.
grpdelay(hfilt)
displays
the group delay of hfilt
in the Filter Visualization
Tool (FVTool).
[
returns the group delay
for the filter System object™ gd
,w
]
= grpdelay(hs
)hs
using 8192
samples.
[
returns
the group delay for the filter System object gd
,w
]
= grpdelay(hs
,n
)hs
using n
samples.
[
returns
the group delay with additional options specified by one or more gd
,w
] =
grpdelay(hs
,Name,Value
)Name,Value
pair
arguments.
grpdelay(hs)
uses FVTool
to plot the group delay of the filter System object hs
.

Complex, 

Frequency vector of length 