%% Generate Block from FIR Filter
% Design a 30th-order FIR filter using the window method. Specify a cutoff
% frequency of _&pi;_/4 rad/sample. Create a Simulink(R) block.

b = fir1(30,0.25);
filt2block(b)

%% 
% Copyright 2012 The MathWorks, Inc.