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

4 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Digital Filter Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by