Main Content

nrPDSCHPTRS

Generate PDSCH PT-RS symbols

Since R2020a

Description

sym = nrPDSCHPTRS(carrier,pdsch) returns sym, which contains phase tracking reference signal (PT-RS) symbols of the physical downlink shared channel (PDSCH), as defined in TS 38.211 Section 7.4.1.2.1 [1]. carrier specifies the carrier configuration parameters for a specific OFDM numerology and pdsch specifies the PDSCH configuration parameters.

example

sym = nrPDSCHPTRS(carrier,pdsch,'OutputDataType',datatype) specifies the data type of the output PT-RS symbols.

Examples

collapse all

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
      ⋮

Input Arguments

collapse all

Carrier configuration parameters for a specific OFDM numerology, specified as an nrCarrierConfig object. This function uses only these properties of the nrCarrierConfig object.

PDSCH configuration parameters, specified as an nrPDSCHConfig object. This function only uses these nrPDSCHConfig object properties.

Data type for the generated PT-RS symbols, specified as 'double' or 'single'.

Data Types: char | string

Output Arguments

collapse all

PT-RS symbols, returned as a complex column vector.

Data Types: double | single
Complex Number Support: Yes

References

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

Extended Capabilities

Version History

Introduced in R2020a