生成16 QAM信号

SKM*_*SKM 3 matlab signal-processing software-defined-radio

我知道使用以下方法生成QPSK信号的方法

TxS=round(rand(1,N))*2-1;  % QPSK symbols are transmitted symbols
TxS=TxS+sqrt(-1)*(round(rand(1,N))*2-1);
Run Code Online (Sandbox Code Playgroud)

在上文中,符号是2个字母+ 1/-1.但我无法理解如何为相同的字母空间生成16-正交幅度调制信号?可能吗?或者通常的生成方式是什么?

此外,处理复杂信号而不是真实的是一种做法吗?

Jer*_*rry 5

看看这个:http: //www.mathworks.com/help/comm/ref/comm.rectangularqamdemodulator-class.html

hMod = comm.RectangularQAMModulator('ModulationOrder',16);
dataIn = randi([0 15],10000,1);
txSig = step(hMod,dataIn);
Run Code Online (Sandbox Code Playgroud)

您还可以使用:

TxS = (randi(4,N,1)*2-5)+i*(randi(4,N,1)*2-5)
Run Code Online (Sandbox Code Playgroud)