Unwrapped phase response for filter
returns the unwrapped phase response
phi of the filter
sysobj, based on the current filter
coefficients. The vector
w contains the frequencies (in radians)
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.
Fs = 8000; Fcutoff = 2000; FIRFilt = dsp.FIRFilter('Numerator', fir1(130,Fcutoff/(Fs/2)));
phasez computes the unwrapped phase response of the filter and displays it using fvtool
sysobj— Input filter
Input filter, specified as as one of the following filter System objects:
n— Number of points over which the frequency response is computed
Number of points over which the frequency response is computed. For an FIR
n is a power of two, the computation is done
faster using FFTs.
arithType— Arithmetic type
Specify the arithmetic used during analysis. When the arithmetic input is not specified and
the filter System object is unlocked, the analysis tool assumes a double-precision
'Arithmetic' property set to
applies only to filter System objects with fixed-point properties.
phi— Phase response
Phase response vector of length
n is not specified, the function uses a default value
8192. The phase response is evaluated at
n points equally spaced around the upper half of
the unit circle.
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
n is not
specified, the function uses a default value of 8192.