function bank=filt_bank(N,L)
% FILT_BANK	Filter bank generator
%		bank = FILT_BANK(N,L);
%			N	number of bands
%			L	length of each FIR filter
%		Generates an LxN matrix
%		Each of the N columns contains an L-point FIR filters
%		The following parameters are specified within the function
%		so they'll be the same for both the analysis and synthesis
%		portions of the channel vocoder:
%			Fs	sampling frequency in Hz
%			start	center frequency of first band in Hz
%			B	bandwidth of each band in Hz
%

%  Fill in parameter values . . .
Fs = 		% sampling frequency in Hz
start = 	% center frequency of first band in Hz
B = 		% bandwidth in Hz

% Design a prototype lowpass filter . . .
% 	Choose the cutoff frequency to obtain a bandwidth of B.
% 	We suggest that you use a Kaiser window with beta = 3.
lpf = 
% Need to make it a column vector
lpf = lpf(:);

% Make a DT vector equal to the filter length for argument to cosine . . . 
n = [0:L-1]';

% In loop, design filter for each band:
for i = 1:N

	% Compute desired center frequency from i, B, start, and Fs . . .
	cf = 

	% Shift lowpass prototype to center frequency  . . .
	% See (See Problem Set 2, #1)
	bank(:,i) = lpf .* cos(. . . fill in here . . .);
end
