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
MathWorks Support Team 2009년 6월 27일
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