lteDuplexingInfo
Duplexing information
Description
returns
a structure, info
= lteDuplexingInfo(enb
)info
, providing information on the
duplexing arrangement. For more information, see Duplex Mode Configuration.
Examples
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
enb
— Cell-wide settings
structure
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) | 'Extended'
| optional
Cyclic prefix length in downlink, specified as 'Normal'
or 'Extended'
.
Data Types: char
CyclicPrefixUL
— Cyclic prefix length in uplink
'Normal'
(default) | 'Extended'
| optional
Cyclic prefix length in uplink, specified as 'Normal'
or 'Extended'
.
Data Types: char
| string
DuplexMode
— Duplexing mode
'FDD'
(default) | 'TDD'
| optional
Duplexing mode, specified as 'FDD'
or 'TDD'
.
Data Types: char
| string
TDDConfig
— Uplink or downlink configuration
0 (default) | integer from 0 to 6 | optional
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 configuration
0 (default) | integer from 0 to 9 | optional
Special subframe configuration, specified as an integer from
0 to 9. Required only if DuplexMode
is set to 'TDD'
.
Data Types: double
NSubframe
— Subframe number
nonnegative integer
Subframe number, specified as a nonnegative integer. Required
only if DuplexMode
is set to 'TDD'
.
Data Types: double
Data Types: struct
Output Arguments
info
— Duplexing information
structure
Duplexing information, returned as a structure containing the following fields.
NSymbols
— Total number of symbols in subframe
nonnegative 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 downlink
nonnegative integer
Number of symbols used for transmission in downlink, returned as a nonnegative integer.
NSymbolsGuard
— Number of symbols in the guard period
nonnegative integer
Number of symbols in the guard period, returned as a nonnegative integer.
NSymbolsUL
— Number of symbols used for transmission in uplink
nonnegative integer
Number of symbols used for transmission in uplink (UL), returned as a nonnegative integer.
More About
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 toCyclicPrefix
.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
andNSubframe
identify the subframe type as specified in TS 36.211 [1], Table 4.2-2.For uplink or downlink subframes,
CyclicPrefixUL
orCyclicPrefix
, respectively, indicate the relevant cyclic prefix setting.For special subframes, the
lteDuplexingInfo
function usesSSC
andCyclicPrefix
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
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)