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

Complex, For adaptive filters, 

Frequency vector of length 
You can provide fs
, the sampling frequency,
as an input as well. phasedelay
uses fs
to
calculate the delay response and plots the response to fs
/2.