%% LTELayerDemap Example
%% Map codeword onto 4 symbols for TXDiversity Transmission scheme

nCodewords = 1;
codeword = ones(16,1);
nLayers = 4;
txScheme = 'TxDiversity';
layerMap = lteLayerMap(codeword,nLayers,txScheme);

%
%% Recover the codeword

out = lteLayerDemap(layerMap,nCodewords,txScheme)

% Copyright 2012 The MathWorks, Inc.