%% Coefficients of Channelizer Filters
% Using the getFilters function, you can access the coefficients of the lowpass prototype filter and the modulated bandpass filters of the channelizer.

channelizer = dsp.Channelizer;
B = getFilters(channelizer);

% The first row corresponds to the coefficients of the prototype filter. The subsequent rows correspond to the coefficients of the respective modulated filters. Compare the first row with the coefficients returned by the tf function.

b = tf(channelizer);
isequal(b,B(1,:))

%
% The output of the tf function and the first row of the B matrix are equal.
%
% Visualize the frequency response of the first 4 filters of the channelizer.

fvtool(B(1,:),1, B(2,:),1, B(3,:),1, B(4,:),1);

% Copyright 2012 The MathWorks, Inc.