%% Generate SSS RE Indices in Subscript Form
% Generate 0-based SSS resource element indices in subscript form for antenna port 0. In this case, a matrix is generated where each row has three columns representing subcarrier, symbol, and antenna port.
% Generate 0-based SSS resource element indices in subscript form for antenna port 0.

enb = lteRMCDL('R.4');
sssIndices = lteSSSIndices(enb,0,{'0based','sub'});
sssIndices(1:4,:)

% The first column of the output represents subcarrier. The second column represents symbol. The third column represents antenna port.
% Copyright 2012 The MathWorks, Inc.