Main Content

nrPDSCHPTRSConfig

PDSCH PT-RS configuration parameters

Since R2020a

Description

The nrPDSCHPTRSConfig object sets phase tracking reference signal (PT-RS) configuration parameters for a physical downlink shared channel (PDSCH), as defined in TS 38.211 Section 7.4.1.2 [1]. By default, the object defines the PT-RS with time density 1, frequency density 2, resource element offset '00' and PTRS port set [ ]. Use this object when setting the PTRS property of the nrPDSCHConfig or nrWavegenPDSCHConfig objects.

Creation

Description

ptrs = nrPDSCHPTRSConfig creates a PT-RS configuration object for a PDSCH with default properties.

ptrs = nrPDSCHPTRSConfig(Name,Value) specifies properties using one or more name-value pair arguments. Enclose each property in quotes. For example, 'TimeDensity',2,'FrequencyDensity',4 sets the time density to 2 and frequency density to 4. Unspecified properties take their default values.

example

Properties

expand all

PT-RS time density, specified as 1, 2 or 4. This property is the higher layer parameter timeDensity.

Data Types: double

PT-RS frequency density, specified as 2 or 4. This property is the higher layer parameter frequencyDensity.

Data Types: double

Resource element offset with a specific subcarrier offset, specified as '00', '01','10', or '11'. This property is the higher layer parameter resourceElementOffset.

Data Types: char | string

PT-RS antenna port set, specified as a nonnegative integer. Specify [] to set this property to the lowest value in the DMRSPortSet property of nrPDSCHDMRSConfig object. This usage of [] value is applicable only when nrPDSCHPTRSConfig object is used as a property of nrPDSCHConfig or nrWavegenPDSCHConfig.

Data Types: double

Examples

collapse all

Create a PT-RS configuration object for a PDSCH. Set the time density to 2, frequency density to 4, and resource element offset to '10'.

ptrs = nrPDSCHPTRSConfig;
ptrs.TimeDensity = 2;
ptrs.FrequencyDensity = 4;
ptrs.REOffset = '10';
disp(ptrs)
  nrPDSCHPTRSConfig with properties:

         TimeDensity: 2
    FrequencyDensity: 4
            REOffset: '10'
         PTRSPortSet: []

Create a carrier configuration object with default properties. This object corresponds to a 10 MHz carrier.

carrier = nrCarrierConfig;

Create a default PDSCH configuration object, and then enable the PT-RS configuration.

pdsch = nrPDSCHConfig;
pdsch.EnablePTRS = 1;

Create a PDSCH phase tracking reference signal (PT-RS) configuration object with specified properties.

ptrs = nrPDSCHPTRSConfig;
ptrs.TimeDensity = 2;
ptrs.FrequencyDensity = 4;
ptrs.REOffset = '10';

Assign the PDSCH PT-RS configuration object to PTRS property of PDSCH configuration object.

pdsch.PTRS = ptrs;

Generate PDSCH PT-RS symbols of data type single.

sym = nrPDSCHPTRS(carrier,pdsch,'OutputDataType','single')
sym = 78x1 single column vector

  -0.7071 - 0.7071i
  -0.7071 - 0.7071i
   0.7071 - 0.7071i
   0.7071 - 0.7071i
   0.7071 - 0.7071i
  -0.7071 - 0.7071i
  -0.7071 + 0.7071i
  -0.7071 - 0.7071i
  -0.7071 + 0.7071i
   0.7071 + 0.7071i
      ⋮

Generate PDSCH PT-RS indices in subscript form and set the index orientation to bandwidth part.

ind = nrPDSCHPTRSIndices(carrier,pdsch,'IndexStyle','subscript','IndexOrientation','bwp')
ind = 78x3 uint32 matrix

    19     1     1
    67     1     1
   115     1     1
   163     1     1
   211     1     1
   259     1     1
   307     1     1
   355     1     1
   403     1     1
   451     1     1
      ⋮

References

[1] 3GPP TS 38.211. “NR; Physical channels and modulation.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced in R2020a