Documentation |
Unwrapped phase response for filter
[phi,w]=phasez(hfilt)
[phi,w]=phasez(hfilt,n)
phasez(hfilt)
[phi,w]
= phasez(hs)
[phi,w]
= phasez(hs,n)
[phi,w]
= phasez(hs,Name,Value)
phasez(hs)
phasez returns the unwrapped phase response based on the current filter coefficients. This section describes phasez operation for adaptive filters, discrete-time filters, multirate filters, and filter System objects. For more information about optional input arguments for phasez, refer to phasez in Signal Processing Toolbox™ documentation.
[phi,w]=phasez(hfilt) returns the phase response phi of the filter hfilt and the corresponding frequencies w at which the function evaluates the phase response. The phase response is evaluated at 8192 points equally spaced around the upper half of the unit circle.
[phi,w]=phasez(hfilt,n) returns the phase response phi of the filter hfilt and the corresponding frequencies w at which the function evaluates the phase response. The phase response is evaluated at n points equally spaced around the upper half of the unit circle.
phasez(hfilt) displays the phase response of hfilt in the Filter Visualization Tool (FVTool).
[phi,w] = phasez(hs) returns a phase response for the filter System object™ hs using 8192 samples.
[phi,w] = phasez(hs,n) returns a phase response for the filter System object hs using n samples.
[phi,w] = phasez(hs,Name,Value) returns a phase response with additional options specified by one or more Name,Value pair arguments.
phasez(hs) uses FVTool to plot the phase response of the filter System object hs.
phi |
Complex, n-element phase response vector. If hfilt is a vector of filters, phi 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, phi is the instantaneous 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. |