%% Interleave Sequence
% Get the interleaving sequence of a non-HT interleaver type.
%
% Define the input parameters. Set the number of coded bits per OFDM symbol per spatial stream per interleaver block to 192.

numCBPSSI = 192;

%
% Create a numeric sequence from 1 to numCBPSSI.

seq = (1:numCBPSSI).';

%
% Perform BCC interleaving on the numeric sequence.

intSeq = wlanBCCInterleave(seq,'Non-HT',numCBPSSI);
intSeq(1:10)

% Copyright 2012 The MathWorks, Inc.