%% Even-Order Symmetric FIR Filter Structure
% Create a Type-1 16th-order direct-form symmetric FIR filter structure for a dfilt object.

Num_coeffs = fir1(16,0.5);
Hd = dfilt.dfsymfir(Num_coeffs);

%
% Display the impulse response of the filter.

impz(Hd)

% Copyright 2012 The MathWorks, Inc.