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.

lteSSSSIndices

SSSS resource element indices

Syntax

ind = lteSSSSIndices(ue)
ind = lteSSSSIndices(ue,opts)

Description

example

ind = lteSSSSIndices(ue) returns a 124-by-1 complex column vector of resource element (RE) indices for the secondary sidelink synchronization signal (SSSS) values given the user equipment settings structure. By default, the indices are returned in one-based linear indexing form. You can use this form to directly index elements of a matrix representing the subframe resource grid for antenna port 1020. For more information, see Secondary Sidelink Synchronization Signal Indexing.

example

ind = lteSSSSIndices(ue,opts) formats the returned indices using options defined in opts.

Examples

collapse all

Generate SSSS values and indices. Write the values into the SSSS resource elements in a synchronization subframe (extended cyclic prefix) and display an image of their locations.

Create a user equipment settings structure and a resource grid that has a 10 MHz bandwidth and extended cyclic prefix.

ue.NSLRB = 50;
ue.CyclicPrefixSL = 'Extended';
ue.NSLID = 1;

subframe = lteSLResourceGrid(ue);

Generate SSSS indices and display the first five indices. Load the SSSS symbols into the resource grid. Display an image showing the SSSS symbol locations.

ssss_indices = lteSSSSIndices(ue);
ssss_indices(1:5)
ans = 5x1 uint32 column vector

   5670
   5671
   5672
   5673
   5674

subframe(ssss_indices) = lteSSSS(ue);
image(100*abs(subframe))
axis xy

Generate SSSS indices using zero-based indexing style. Compare these indices to one-based indices.

Create a user equipment settings structure that has a 10 MHz bandwidth and extended cyclic prefix.

ue.NSLRB = 50;
ue.CyclicPrefixSL = 'Extended';
ue.NSLID = 1;

Generate SSSS zero-based indices and view the first five indices.

ssss_indices = lteSSSSIndices(ue,'0based');
ssss_indices_size = size(ssss_indices)
ssss_indices_size = 

   124     1

ssss_indices(1:5)
ans = 5x1 uint32 column vector

   5669
   5670
   5671
   5672
   5673

Generate SSSS one-based indices and view the first five indices.

ssss_indices = lteSSSSIndices(ue,'1based');
ssss_indices_size = size(ssss_indices)
ssss_indices_size = 

   124     1

ssss_indices(1:5)
ans = 5x1 uint32 column vector

   5670
   5671
   5672
   5673
   5674

For zero-based indexing, the first assigned index is one lower than the one-based indexing style.

Input Arguments

collapse all

User equipment settings, specified as a structure. ue contains the following fields.

Number of sidelink resource blocks, specified as an integer scalar from 6 to 110. (NRBSL)

Example: 6, which corresponds to a channel bandwidth of 1.4 MHz.

Data Types: double

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

Data Types: char

Output format options for resource element indices, specified as 'ind' or 'sub', and '1based' or '0based'. You can specify a format for the indexing style and index base.

Category Options Description

Indexing style

'ind' (default)

The returned indices are in linear index style.

'sub'

The returned indices are in [subcarrier,symbol,port] subscript row style.

Index base

'1based' (default)

The returned indices are one-based.

'0based'

The returned indices are zero-based.

Example: 'sub' returns indices in subscript row style using the default one-based indexing style.

Data Types: char | cell

Output Arguments

collapse all

SSSS resource element indices, returned as an integer column vector or a three-column integer matrix. This output is generated using the cell-wide settings structure, ue. For more information, see Secondary Sidelink Synchronization Signal Indexing.

Data Types: uint32

More About

collapse all

Secondary Sidelink Synchronization Signal Indexing

Use the indexing function, lteSSSSIndices, and the corresponding sequence function, lteSSSS, to populate the resource grid for the desired subframe number. The SSSS values are output by lteSSSS, ordered as they should be mapped, applying frequency-first mapping into the resource elements of the adjacent symbols using lteSSSSIndices. When indexing is zero-based, the SC-FDMA symbols used are {11,12} for normal cyclic prefix and {9, 10} for extended cyclic prefix.

Note

The indicated symbol indices are based on TS 36.211, Section 9.7. However to align with the LTE System Toolbox™ subframe orientation, these indices are expanded from symbol index per slot to symbol index per subframe.

For more information on mapping symbols to the resource element grid, see Resource Grid Indexing.

Secondary Sidelink Synchronization Signal

The secondary sidelink synchronization signal (SSSS) is transmitted in the central 62 resource elements of two adjacent SC-FDMA symbols in a synchronization subframe. The same sequence of 62 complex values is repeated in each of the symbols, resulting in a 124-by-1 element vector returned by the lteSSSS function. The values of this sequence are ordered as they should be mapped into the resource elements of the adjacent symbols using lteSSSSIndices. If a terminal is transmitting SSSS then it should be sent every 40 ms for D2D sidelink or every 160 ms for V2X sidelink, with the exact subframe dependent on the RCC signaled subframe number offset (syncOffsetIndicator-r12). The SSSS is sent on antenna port 1020, along with the primary sidelink synchronization signal (PSSS). A synchronization subframe also contains the PSBCH, which is sent on antenna port 1010. The transmission power of the SSSS symbols should be the same as the PSBCH therefore they should be scaled by 7262 in a subframe. No PSCCH or PSSCH transmission will occur in a sidelink subframe configured for synchronization purposes.

As specified in TS 36.211, Section 9.7, the SSSS identity assignment depends on the network coverage. The set of all NIDSL is divided into two sets, id_net {0, ..., 167} and id_oon {168, ..., 335}, which are used by terminals that are in-network and out-of-network coverage, respectively. The sidelink physical layer cell identity number, NIDSL, corresponds to the lteSSSS input UE settings structure field ue.NSLID. Within each set, all identities result in the same SSSS. For an in-network terminal, the ue.NSLID value corresponds to the RRC sidelink synchronization signal identity (slssid-r12) associated with the cell.

References

[1] 3GPP TS 36.211. “Physical Channels and Modulation.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network; Evolved Universal Terrestrial Radio Access (E-UTRA). URL: http://www.3gpp.org.

Introduced in R2016b

Was this topic helpful?