Main Content

nrSCSCarrierConfig

SCS carrier configuration parameters for 5G waveform generation

Description

ThenrSCSCarrierConfigobject sets subcarrier spacing (SCS) carrier configuration parameters for a specific OFDM numerology. Use this object to set theSCSCarriersproperty of thenrDLCarrierConfigobject or theSCSCarriersproperty of thenrULCarrierConfigobject when configuring 5G waveform generation.

This object defines the carrier SCS, bandwidth, and offset parameters from point A, which is the center of subcarrier 0 in the common resource block 0 (CRB 0). By default, this object specifies a 10 MHz carrier corresponding to 52 resource blocks (RBs) and 15 kHz SCS.

Creation

Description

carrier = nrSCSCarrierConfigcreates a default SCS carrier configuration object for 5G waveform generation.

example

carrier = nrSCSCarrierConfig(Name,Value)setspropertiesusing one or more name-value pair arguments. Enclose each property name in quotes. For example,'SubcarrierSpacing',30,'NSizeGrid',273specifies a 100 MHz carrier corresponding to 273 resource blocks (RBs) and 30 kHz SCS.

Properties

expand all

Subcarrier spacing in kHz, for all channels and reference signals of the carrier, specified as15,30,60,120, or240.

Data Types:double

Number of RBs in the carrier resource grid, specified as an integer from 1 to 275. The default value of52corresponds to the maximum number of RBs of a 10 MHz carrier with 15 kHz SCS.

Data Types:double

Start of carrier resource grid relative to CRB 0, specified as an integer from 0 to 2199. This property is the higher-layer parameteroffsetToCarrier.

Data Types:double

Examples

collapse all

Create a default SCS carrier configuration object, which configures a 10 MHz carrier with 15 kHz SCS.

scs1 = nrSCSCarrierConfig;

Create an SCS carrier configuration object, which configures a 100 MHz carrier with 30 kHz SCS.

scs2 = nrSCSCarrierConfig('SubcarrierSpacing',30,'NSizeGrid',273);

Create a downlink carrier configuration object, specifying the two SCS carrier configurations.

cfgDL = nrDLCarrierConfig('SCSCarriers',{scs1,scs2});

Extended Capabilities

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

Introduced in R2020b