Does the FREQZ function in the Filter Design Toolbox 2.2 (R13) unwrap the phase angle before plotting?

2 views (last 30 days)
I am using FREQZ as indicated by the lines of code below to obtain plots of magnitude and phase versus frequency:
b = [ 0.3125 0.3750 0.3125];
a = 1;
freqz(b,a)
I see a discontinuity in the phase plot. I was wondering if this is due to the phase angle not being unwrapped or if it is due to the choice of the filter coefficients themselves?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
The function, FREQZ, successfully plots the unwrapped phase. The UNWRAP function is used in FREQZ.
However, unwrapping the phase does not mean that there cannot be discontinuities in the phase. The ZEROPHASE function can compute a continuous phase response that contains no discontinuities.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!