%% Generate NPUSCH DRS RE Indices
% Configure UE-specific settings.

ue = struct('NBULSubcarrierSpacing','15kHz');

% Specify a channel transmission configuration.

chs =  struct('NPUSCHFormat','Data','NBULSubcarrierSet',0:11);

% Generate and display the NPUSCH DRS RE indices for the specified settings.

ind = lteNPUSCHDRSIndices(ue,chs);
disp(ind')

% Copyright 2019 The MathWorks, Inc.