Documentation

lteDuplexingInfo

Duplexing information

Syntax

  • info = lteDuplexingInfo(enb)
    example

Description

example

info = lteDuplexingInfo(enb) returns a structure, info, providing information on the duplexing arrangement. For more information, see Duplex Mode Configuration.

Examples

collapse all

Get TDD Downlink Frame Duplexing Information

Get the number of downlink OFDM symbols in each subframe for a TDD (configuration 0) frame.

A Configuration 0 TDD frame is organized as follows:

  • Only subframes 0, 1, 5, and 6 will contain a non-zero number of DL OFDM symbols.

  • Subframe 0 and 5 are designated for DL.

  • Subframes 1 and 6 are special subframes.

  • Subframes 2, 3, 4, 7, 8, and 9 are designated for UL.

Initialize a cell-wide configuration structure for RMC R.0 and a Configuration 0 TDD frame.

enb = lteRMCDL('R.0');
enb.DuplexMode = 'TDD';
enb.SSC = 0;
enb.TDDConfig = 0;

Loop through all subframes in a frame.

for n = 0:9
    enb.NSubframe = n;
    duplexInfo = lteDuplexingInfo(enb);
    fprintf('DL symbols in subframe %d: %d\n',n,duplexInfo.NSymbolsDL)
end
DL symbols in subframe 0: 14
DL symbols in subframe 1: 3
DL symbols in subframe 2: 0
DL symbols in subframe 3: 0
DL symbols in subframe 4: 0
DL symbols in subframe 5: 14
DL symbols in subframe 6: 3
DL symbols in subframe 7: 0
DL symbols in subframe 8: 0
DL symbols in subframe 9: 0

Input Arguments

collapse all

enb — Cell-wide settingsstructure

Cell-wide settings, specified as a structure containing these fields. For more information, see Duplex Mode Configuration.

CyclicPrefix — Cyclic prefix length in downlink'Normal' (default) | optional | 'Extended'

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

Data Types: char

CyclicPrefixUL — Cyclic prefix length in uplink'Normal' (default) | optional | 'Extended'

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

Data Types: char

DuplexMode — Duplexing mode'FDD' (default) | optional | 'TDD'

Duplexing mode, specified as 'FDD' or 'TDD'.

Data Types: double

TDDConfig — Uplink or downlink configuration0 (default) | optional | 0,...,6 | integer

Uplink or downlink configuration, specified as an integer from 0 to 6. Required only if DuplexMode is set to 'TDD'.

Data Types: double

SSC — Special subframe configuration0 (default) | optional | 0,...,9 | integer

Special subframe configuration, specified as an integer from 0 through 9. Required only if DuplexMode is set to 'TDD'.

Data Types: double

NSubframe — Subframe numbernonnegative integer

Subframe number, specified as a nonnegative integer. Required only if DuplexMode is set to 'TDD'.

Data Types: double

Data Types: struct

Output Arguments

collapse all

info — Duplexing informationstructure

Duplexing information, returned as a structure containing the following fields.

NSymbols — Total number of symbols in subframenonnegative integer

Total number of symbols in subframe, returned as a nonnegative integer.

SubframeType — Type of subframe'Downlink' | 'Uplink' | 'Special'

Type of subframe, returned as 'Downlink', 'Uplink', or 'Special'

NSymbolsDL — Number of symbols used for transmission in downlinknonnegative integer

Number of symbols used for transmission in downlink (DL), returned as a nonnegative integer.

NSymbolsGuard — Number of symbols in the guard periodnonnegative integer

Number of symbols in the guard period, returned as a nonnegative integer.

NSymbolsUL — Number of symbols used for transmission in uplinknonnegative integer

Number of symbols used for transmission in uplink (UL), returned as a nonnegative integer.

More About

collapse all

Duplex Mode Configuration

For FDD duplex mode:

  • If CyclicPrefixUL is present, the link direction is assumed to be uplink.

  • If CyclicPrefixUL is not present, the link direction is assumed to be downlink, and cyclic prefix is set according to CyclicPrefix.

    • If CyclicPrefix is also not present, the default 'Normal' cyclic prefix is used.

For TDD duplex mode, configurations defined in TS 36.211 [1] Tables 4.2-1 and 4.2-2 specify the number of special subframe symbols and uplink-downlink configurations, respectively, for the given subframe (NSubframe).

  • CyclicPrefixUL gives the uplink cyclic prefix type.

  • CyclicPrefix gives the downlink cyclic prefix type.

  • TDDConfig gives the uplink-downlink configuration. (TS 36.211 [1], Table 4.2-2)

  • SSC gives the special subframe configuration. (TS 36.211 [1], Table 4.2-1)

The TDDConfig, SSC, and NSubframe parameter fields are required only if DuplexMode is set to 'TDD'.

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 R2014a

Was this topic helpful?