Main Content

lteTBS

Transport block size lookup

Description

Use this function to look up transport block sizes as defined in TS 36.213 [1], Section 7.1.7.2 tables. The tables are Release 15 compliant and contain 37 TBS values for each of the physical resource block entries. The first 27 table entries are the Release 8–Release 11 compatible TBSs. Entries 28-33 are Release 12 compatible.

tbs = lteTBS(nprb) returns the column of TS 36.213 [1], Table 7.1.7.2.1-1 for the number of physical resource blocks, nprb, specified. Table 7.1.7.2.1-1 is for transport blocks not mapped to two or more spatial multiplexing layers. The returned column vector, tbs, has 38 elements, corresponding to transport block size indices from 0 to 37.

example

tbs = lteTBS(nprb,itbs) uses an additional input, itbs (a vector of transport block size indices from 0 to 33) to restrict returned vector of values. A value in the itbs vector equal to –1, indicates a discontinuous transmission (DTX) and lteTBS produces a corresponding tbs value of 0.

tbs = lteTBS(nprb,itbs,smnlayer) uses an additional input, smnlayer to indicate the number of spatial multiplexing layers to which the transport block is mapped. This combines TS 36.213 [1], Table 7.1.7.2.1-1 with the appropriate spatial layer TBS translation table:

  • For 2-layer spatial multiplexing, the function follows the rules in TS 36.213 [1], Section 7.1.7.2.2.

  • For 3-layer spatial multiplexing, the function follows the rules in TS 36.213 [1], Section 7.1.7.2.4.

  • For 4-layer spatial multiplexing, the function follows the rules in TS 36.213 [1], Section 7.1.7.2.5.

For transmission schemes that do not support spatial multiplexing ('Port0','TxDiversity','Port5','Port8'), set smnlayer = 1.

Examples

collapse all

Generate the set of 38 transport block sizes from TS 36.213, Table 7.1.7.2.1-1 (Release 15), valid for a single PRB allocation.

tbs = lteTBS(1);
disp(tbs')
     16     24     32     40     56     72    328    104    120    136    144    176    208    224    256    280    328    336    376    408    440    488    520    552    584    616    712    648    680    712    776    808    840    968   1032   1096   1160   1224

Generate the set of 27 Release 8-Release 11 transport block sizes for a single PRB allocation and three spatial layers.

nprb = 1;
itbs = 0:26;
smnlayer = 3;
tbs = lteTBS(nprb,itbs,smnlayer);
disp(tbs')
     56     88    144    176    208    224    256    328    392    456    504    584    680    744    840    904    968   1064   1160   1288   1384   1480   1608   1736   1800   1864   2216

Input Arguments

collapse all

Number of physical resource blocks, specified as a positive scalar integer from 1 to 110.

Data Types: double

Transport block size indices, specified as a numeric vector.

Data Types: double

Number of spatial multiplexing layers to which transport block is mapped, specified as a positive scalar integer from 1 to 4.

Data Types: double

Output Arguments

collapse all

Transport block size or sizes, returned as a column vector of nonnegative integers from the transport block size table in TS 36.213, Section 7.1.7.2 [1]. The maximum length of this output is 38, corresponding to TBS indices from 0 to 37.

Data Types: int32

References

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

Version History

Introduced in R2014a

See Also

|