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

4 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 27 Juin 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.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by