Main Content

lteDuplexingInfo

Duplexing information

Description

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

example

Examples

collapse all

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

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

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

Data Types: char

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

Data Types: char | string

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

Data Types: char | string

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

Data Types: double

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

Data Types: double

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

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

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

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

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

Number of symbols in the guard period, returned as a nonnegative 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:

  • The subframe type can be uplink, downlink, or special. TDDConfig and NSubframe identify the subframe type as specified in TS 36.211 [1], Table 4.2-2.

    • For uplink or downlink subframes, CyclicPrefixUL or CyclicPrefix, respectively, indicate the relevant cyclic prefix setting.

    • For special subframes, the lteDuplexingInfo function uses SSC and CyclicPrefix to identify the special subframe configuration, as specified in TS 36.211 [1], Table 4.2-1.

References

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

Version History

Introduced in R2014a