Documentation |
Zero-phase response for filter
[hr,w]
= zerophase(hfilt)
[hr,w]
= zerophase(hfilt,n)
zerophase(hfilt)
[hr,w]
= zerophase(hs)
[hr,w]
= zerophase(hs,n)
[hr,w] =
zerophase(hs,Name,Value)
zerophase(hs)
zerophase returns the zero-phase response based on the current filter coefficients. This section describes common zerophase operation with adaptive, discrete-time, and multirate filters. For more input options, refer to zerophase in Signal Processing Toolbox™ documentation.
[hr,w] = zerophase(hfilt) returns the instantaneous zero-phase response hr and the frequencies w in 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.
[hr,w] = zerophase(hfilt,n) returns the instantaneous zero-phase response hr and the frequencies w in radians at which zerophase evaluated the response. The zero-phase response is evaluated at n points equally spaced around the upper half of the unit circle.
zerophase(hfilt) displays the zero-phase response of ha in the Filter Visualization Tool (FVTool).
[hr,w] = zerophase(hs) returns a zero-phase response for the filter System object™ hs using 8192 samples.
[hr,w] = zerophase(hs,n) returns a zero-phase response for the filter System object hs using n samples.
[hr,w] = zerophase(hs,Name,Value) returns a zero-phase response with additional options specified by one or more Name,Value pair arguments.
zerophase(hs) uses FVTool to plot the zero-phase response of the filter System object hs.
hr |
Complex, n-element zero-phase response vector. If hfilt is a vector of filters, hr is a complex, length(hfilt)-by-n matrix of phase response vectors whose columns correspond to each filter in hfilt. If n is not specified, the function uses a default value of 8192. For adaptive filters, hr is the instantaneous zero-phase response. |
w |
Frequency vector of length n, in radians/sample. w consists of n points equally spaced around the upper half of the unit circle (from 0 to π radians/sample). If hfilt is a vector of filters, w is a complex, length(hfilt)-by-n matrix of phase response vectors whose columns correspond to each filter in hfilt. If n is not specified, the function uses a default value of 8192. |