%% Generate Positioning Reference Signal Symbols
% Generate the PRS symbols for subframe 0 of a 10MHz downlink.
% Create a cell-wide configuration structure initialized for RMC R.2. Configure for full band PRS (NPRSRB = NDLRB). Configure Iprs = 0, which sets [Tprs Dprs] = [160 0].

rmc = lteRMCDL('R.2');
rmc.NPRSRB = rmc.NDLRB;
rmc.PRSPeriod = 0;
prsSymbols = ltePRS(rmc);

%
% Generate PRS symbols.

prsSymbols(1:4)

% Copyright 2012 The MathWorks, Inc.