Zero-phase response for filter
[hr,w] = zerophase(hfilt,n)
[hr,w] = zerophase(hs)
[hr,w] = zerophase(hs,n)
[hr,w] = zerophase(hs,Name,Value)
zerophase returns the zero-phase response
based on the current filter coefficients. This section describes common
with discrete-time and multirate filters. For more input options,
zerophase in Signal Processing Toolbox™ documentation.
[ returns the instantaneous
hr and the frequencies
radians at which
zerophase evaluated the response.
The zero-phase response is evaluated at 8192 points equally spaced
around the upper half of the unit circle.
the instantaneous zero-phase response
w in radians at which
the response. The zero-phase response is evaluated at
equally spaced around the upper half of the unit circle.
the zero-phase response of
ha in the Filter Visualization
zerophase(hs) uses FVTool
to plot the zero-phase response of the filter System object
The multirate filter zero-phase response is computed relative
to the rate at which the filter is running. When you specify
For multistage cascades,
As an example, consider a 2-stage interpolator where the first
stage has an interpolation factor of 2 and the second stage has an
interpolation factor of 4. In this case, an equivalent single-stage
filter exists with an overall interpolation factor of 8.
Filter System object.
The following Filter System objects are supported by this analysis function:
Number of samples. For an FIR filter where
Specify optional comma-separated pairs of
Name is the argument
Value is the corresponding
Name must appear
inside single quotes (
You can specify several name and value pair
arguments in any order as
'Arithmetic'— Value type:
For filter System object inputs only, specify the arithmetic
used during analysis. When you specify
the function performs double- or single-precision analysis. When you
'fixed' , the arithmetic changes depending
on the setting of the
and whether the System object is locked or unlocked.
When you do not specify the arithmetic for non-CIC structures, the function uses double-precision arithmetic if the filter System object is in an unlocked state. If the System object is locked, the function performs analysis based on the locked input data type. CIC structures only support fixed-point arithmetic.
Frequency vector of length