Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

ltePRS

Positioning reference signal

Syntax

Description

example

sym = ltePRS(enb) returns a column vector containing the positioning reference signal (PRS) symbols for transmission in a single subframe on antenna port 6. These symbols are ordered as they should be mapped into the resource elements along with ltePRSIndices. As determined by the PRS subframe configuration and duplex mode, the output vector is empty if no PRS is scheduled in the subframe.

The optional PRSPeriod parameter controls the downlink subframes in which PRS is present. See the ltePRSIndices function reference page for details.

Examples

collapse all

Generate the PRS symbols for subframe 0 of a 10MHz downlink.

Create a cell-wide configuration structure initialized for RMC R.2. Configure for full band PRS (NPRSRB = NDLRB). Configure Iprs = 0, which sets [Tprs Dprs] = [160 0].

rmc = lteRMCDL('R.2');
rmc.NPRSRB = rmc.NDLRB;
rmc.PRSPeriod = 0;
prsSymbols = ltePRS(rmc);

Generate PRS symbols.

prsSymbols(1:4)
ans =

   0.7071 + 0.7071i
   0.7071 + 0.7071i
   0.7071 + 0.7071i
   0.7071 + 0.7071i

Input Arguments

collapse all

Cell-wide settings, specified as a structure. enb contains the following parameter fields.

The parameters TDDConfig and SSC are only required if DuplexMode is set to 'TDD'.

Number of downlink resource blocks, specified as a positive scalar integer from 6 through 110.

Example: 45

Data Types: double

Number of cell-specific reference signal antenna ports, specified as a 1, 2, or 4.

Example: 1

Data Types: double

Physical layer cell identity number, specified as a nonnegative scalar integer.

Example: 4

Data Types: double

Subframe number, specified as nonnegative scalar integer.

Example: 5

Data Types: double

Frame number, specified as nonnegative scalar integer.

Example: 6

Data Types: double

Cyclic prefix length, specified as a 'Normal' or 'Extended'.

Data Types: char

Duplex mode type, specified as 'FDD' or 'TDD'. Used for separating the transmission signals.

Data Types: char

Uplink or downlink configuration for TDD, specified as a nonnegative scalar integer from 0 through 6. Required only for 'TDD' duplex mode.

Example: 4

Data Types: double

Special subframe configuration, specified as nonnegative scalar integer from 0 through 9. Required only for 'TDD' duplex mode.

Example: 6

Data Types: double

Number of PRS physical resource blocks, specified as nonnegative scalar integer from 0 through NDLRB.

Example: 8

Data Types: double

Positioning reference signal (PRS) period, specified as 'On', 'Off', a numeric scalar, or a 1-by-2 vector. This parameter controls the downlink subframes in which PRS will be present. For details, see ltePRSIndices.

Example: 0

Example: [160 0]

Data Types: char | double

Output Arguments

collapse all

Positioning Reference Signal (PRS) symbols, returned as complex numeric column vector, for transmission in a single subframe on antenna port 6.

Example: 0.7071 + 0.7071i

Data Types: double
Complex Number Support: Yes

Introduced in R2014a

Was this topic helpful?