Documentation

lteTBS

Transport block size lookup

Use lteTBS to look up transport block sizes as defined in TS 36.213 [1], Section 7.1.7.2 tables. The tables are Release 12 compliant and contain 34 TBS values for each of the 111 number of physical resource blocks entries. The first 27 table entries are the Release 8–Release 11 compatible TBSs.

Syntax

  • tbs = lteTBS(nprb)
    example
  • tbs = lteTBS(nprb,itbs)
  • tbs = lteTBS(nprb,itbs,smnlayer)

Description

example

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 34 elements, corresponding to transport block size indices from 0 to 33.

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 Transport Block Sizes for Release 12

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

tbs = lteTBS(1)
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

Generate Transport Block Sizes for Three Spatial Layers

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

nprb = 1;
itbs = 0:26;
smnlayer = 3;
tbs = lteTBS(nprb, itbs, smnlayer)
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

nprb — Number of physical resource blocks1,…,110

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

Data Types: double

itbs — Transport block size indicesnumeric vector

Transport block size indices, specified as a numeric vector.

Data Types: double

smnlayer — Number of spatial multiplexing layers to which transport block is mapped1,…,4

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

tbs — Transport block size or sizescolumn vector | nonnegative integer

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]. This vector contains up to 34 rows, corresponding to TBS indices from 0 to 33.

Data Types: int32

References

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

See Also

|

Introduced in R2014a

Was this topic helpful?