%% Specify All Fixed-point Settings of FIRFilter
% Use specifyall to access all the fixed-point settings of an FIR filter implemented with a direct-form structure. Using specifyall disables all automatic filter scaling and resets the mode values.

b = fircband(12,[0 0.4 0.5 1],[1 1 0 0],[1 0.2],{'w' 'c'});
firFilter = dsp.FIRFilter('Numerator',b);
get(firFilter)

%
% The specifyall function sets all the data type fixed-point properties of the FIR filter to 'Custom'.

specifyall(firFilter)
get(firFilter)

% Copyright 2012 The MathWorks, Inc.