nrTBS
Transport block size
Syntax
Description
General TBS Calculation
tbs = nrTBS(mod,nlayers,nPRB,NREPerPRB,tcr)tbs, the transport block size (TBS), associated with each
          codeword for a shared channel transmission, as defined in TS 38.214 Sections 5.1.3.2 and
          6.1.4.2. modulation is the modulation scheme for each codeword and
            nlayers is the number of transmission layers.
            nPRB is the number of physical resource blocks (PRBs) allocated for
          the physical shared channel. NREPerPRB is the number of resource
          elements (REs) in a single PRB across the allocated symbols (excluding DM-RS symbols).
            tcr is the target code rate for each codeword. The additional
          overhead and scaling factor used for TBS calculation are 0 and 1, respectively.
tbs = nrTBS(mod,nlayers,nPRB,NREPerPRB,tcr,xOh)
PDSCH
Since R2025a
PDSCH for Waveform Generation
Since R2025a
PUSCH
Since R2025a
PUSCH for Waveform Generation
Since R2025a
tbs = nrTBS(puschwg,carrierUL)carrierUL. Use this
          syntax for interlaced PUSCH transmissions, that is, when
            puschwg.Interlacing is set to true.
Examples
Input Arguments
Output Arguments
References
[1] 3GPP TS 38.214. “NR; Physical layer procedures for data.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.