www.gusucode.com > dsp 案例源码程序 matlab代码 > dsp/UnwrappedPhaseResponseOfADiscreteTimeMultirateFilterExample.m

    %% Unwrapped Phase Response of a Discrete-Time Filter 
Fs = 8000; Fcutoff = 2000;
FIRFilt = dsp.FIRFilter('Numerator', fir1(130,Fcutoff/(Fs/2)));
%%
% |phasez| computes the unwrapped phase response of the filter and 
% displays it using fvtool
phasez(FIRFilt);