This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

lteNRS

Generate cell-specific narrowband reference signal symbols

Syntax

sym = lteNRS(enb)
sym = lteNRS(enb,ports)

Description

example

sym = lteNRS(enb) returns cell-specific narrowband reference signal (NRS) symbols sym for the input cell-wide settings specified by enb. Unlike other physical channels and signals, the symbols for all antennas are not returned as a matrix with one column for each antenna. Instead, the symbols are returned as a column vector, because the number of symbols varies across antenna ports.

example

sym = lteNRS(enb,ports) returns NRS symbols for input cell-wide settings enb and the input NRS antenna ports specified by ports.

Examples

collapse all

Initialize cell-wide settings by specifying a narrowband physical layer cell identity, number of NRS antenna ports, and subframe number.

enb.NNCellID = 42;    % Physical layer cell identity
enb.NBRefP = 1;       % Number of NRS antenna ports
enb.NSubframe = 4;    % Subframe number

Generate and display the NRS symbols for the specified cell-wide settings.

sym = lteNRS(enb);
disp(sym);
   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

Find the number of NRS symbols transmitted at NRS antenna ports.

Specify the cell-wide settings as fields in the structure enb. Generate the NRS symbols transmitted at antenna port 2000.

enb.NNCellID = 10;      % Physical layer cell identity
enb.NBRefP = 2;         % Number of NRS antenna ports
enb.NSubframe = 2;      % Subframe number
ports = 0;              % Antenna port 0
sym = lteNRS(enb,ports);    % Return NRS symbols

Compute and display the number of NRS symbols transmitted at the antenna port.

nrsPort2000 = length(sym);
disp(nrsPort2000);
     8

Generate the NRS symbols transmitted at antenna ports 2000 and 2001. Compute and display the number of NRS symbols transmitted at both ports.

symAll = lteNRS(enb);
nrsPortAll = length(symAll);
disp(nrsPortAll);
    16

Input Arguments

collapse all

Cell-wide settings, specified as a structure containing these fields.

Narrowband physical layer cell identity, specified as an integer in the interval [0, 503].

Data Types: double

Number of NRS antenna ports, specified as 1 or 2.

Data Types: double

Subframe number, specified as an integer.

Data Types: double

Data Types: struct

NRS antenna ports, specified as 0, 1, or [0 1].

Data Types: double

Output Arguments

collapse all

NRS symbols for a subframe, returned as a complex-valued column vector.

Introduced in R2019a