%% Create PDSCH DM-RS Object
% Create a physical downlink shared channel (PDSCH) demodulation reference signal (DM-RS) object.
% Specify a single-symbol DMRS with configuration type as 2, number of DM-RS additional positions as 2, and antenna ports as 0, 1, and 3.
% View the corresponding properties.

dmrs = nrPDSCHDMRSConfig;
dmrs.DMRSConfigurationType = 2;
dmrs.DMRSLength = 1;
dmrs.DMRSAdditionalPosition = 2;
dmrs.DMRSPortSet = [0 1 3];
dmrs

% Copyright 2019 The MathWorks, Inc.