%% 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);

% Copyright 2012 The MathWorks, Inc.