1.nrPDSCH
Generate PDSCH modulation symbols
生成 PDSCH 调制符号
2.Syntax 语法
sym = nrPDSCH(cws,mod,nlayers,nid,rnti)
sym = nrPDSCH(___,'OutputDataType',datatype)
3.Description 描述
sym = nrPDSCH(cws,mod,nlayers,nid,rnti) returns physical downlink shared channel (PDSCH) modulation symbols, as defined in TS 38.211 Sections 7.3.1.1–3 . The process consists of scrambling with scrambling identity nid, performing symbol modulation with modulation scheme mod, and layer mapping。cws represents one or two downlink shared channel (DL-SCH) codewords, as described in TS 38.212 Section 7.2.6. nlayers specifies the number of transmission layers. rnti is the radio network temporary identifier (RNTI) of the user equipment (UE).
返回物理下行链路共享信道 (PDSCH) 调制符号,如 TS 38.211 第 7.3.1.1–3 节中所定义。该过程包括使用加扰标识进行加扰nid
、使用调制方案执行符号调制mod
和层映射。cws
表示一个或两个下行链路共享信道 (DL-SCH) 码字,如 TS 38.212 第 7.2.6 节中所述。nlayers
指定传输层数。 rnti
是用户设备(UE)的无线电网络临时标识符(RNTI)。
sym = nrPDSCH(___,'OutputDataType',datatype) specifies the PDSCH symbol data type, in addition to the input arguments in the previous syntax.
4.Examples 例子
4.1 Generate PDSCH Symbols for Single Codeword
Specify a random sequence of binary values corresponding to a codeword of 8000 bits using 256-QAM modulation. Generate PDSCH modulation symbols for the specified physical layer cell identity number, RNTI, and number of transmission layers.
使用 256-QAM 调制指定对应于 8000 位码字的二进制值的随机序列。为指定的物理层小区标识号、RNTI 和传输层数生成 PDSCH 调制符号
modulation = '256QAM';
nlayers = 4;
ncellid = 42;
rnti = 6143;
data = randi([0 1],8000,1);
sym = nrPDSCH(data,modulation,nlayers,ncellid,rnti)
4.2 Generate PDSCH Symbols for Codewords with Different Modulation Scheme
Specify two random sequences of binary values. The first sequence corresponds to a codeword of 6000 bits using 64-QAM modulation. The second sequence corresponds to a codeword of 8000 bits using 256-QAM modulation. Generate PDSCH modulation symbols for the specified physical layer cell identity number and RNTI using a total of 8 transmission layers.
指定两个二进制值的随机序列。第一个序列对应于使用 64-QAM 调制的 6000 位码字。第二个序列对应于使用 256-QAM 调制的 8000 位码字。使用总共 8 个传输层为指定的物理层小区标识号和 RNTI 生成 PDSCH 调制符号。
modulation = {'64QAM' '256QAM'};
nlayers = 8;
ncellid = 1;
rnti = 6143;
data = {randi([0 1],6000,1) randi([0 1],8000,1)};
sym = nrPDSCH(data,modulation,nlayers,ncellid,rnti)
mod — Modulation scheme, specified as 'QPSK', '16QAM', '64QAM', or '256QAM',
nlayers : Number of transmission layers, specified as an integer from 1 to 8. For one codeword, use an integer between 1 to 4. For two codewords, use an integer between 5 to 8.
nid :
Scrambling identity, specified as an integer from 0 to 1023. nid is the physical layer cell identity number (0 to 1007) or higher layer parameter dataScramblingIdentityPDSCH (0 to 1023). For more information, see TS 38.331 Section 6.3.2.
rnti — RNTI of the UE, specified as an integer from 0 to 65,535.文章来源:https://www.toymoban.com/news/detail-404941.html
读者1/2 : 库函数链路代码文章来源地址https://www.toymoban.com/news/detail-404941.html
clc
clear;
close all;
modulation = '256QAM';
nlayers = 4;
ncellid = 42;
rnti = 6143;
data = randi([0 1],8000,1);
sym = nrPDSCH(data,modulation,nlayers,ncellid,rnti);
modulation = {'64QAM' '256QAM'};
nlayers = 8;
ncellid = 1;
rnti = 6143;
data = {randi([0 1],6000,1) randi([0 1],8000,1)};
sym = nrPDSCH(data,modulation,nlayers,ncellid,rnti);
到了这里,关于通信算法之129:通信物理层-5G NR PDSCH基带处理的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!