Does the FREQZ function in the Filter Design Toolbox 2.2 (R13) unwrap the phase angle before plotting?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
MathWorks Support Team
am 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.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Digital Filter Analysis finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!