%% Determine Whether Filter is FIR

d = fdesign.lowpass;
filter = design(d,'SystemObject',true);
isfir(filter)

% isfir(filter) returns 1. The filter is an FIR structure with denominator coefficients equal to 1.
% Copyright 2012 The MathWorks, Inc.