%% BCC-Encode Bits
% Encode a sequence of data bits by using a BCC of rate 3/4.
%
% Create the sequence of data bits.

dataBits = randi([0 1],300,1);

%
% BCC-encode the data bits.

encodedData = wlanBCCEncode(dataBits,'3/4');
size(encodedData)

% Copyright 2012 The MathWorks, Inc.