%% Generate Zero-Based 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 the NPUSCH DRS RE indices, specifying zero-based formatting.

ind = lteNPUSCHDRSIndices(ue,chs,'0based');

% Copyright 2019 The MathWorks, Inc.