For any given of modulation scheme, you can provide decimal values when
calling the modulation and demodulation functions. When calling the modulation
and demodulation functions, specify symbol order as 'bin'
for
natural binary encoding or 'gray'
for Gray encoding.
Modulation Scheme | Before | After |
---|---|---|
QAM |
x = randi([0 63],1,100);
x = 2*(randn(100,1)+1j*randn(100,1));
|
x = randi([0 63],1,100);
x = 2*(randn(100,1)+1j*randn(100,1));
|
PAM |
x = randi([0 63],1,100);
x = 2*(randn(100,1)+1j*randn(100,1));
|
x = randi([0 63],1,100);
x = 2*(randn(100,1)+1j*randn(100,1));
|
FSK |
x = randi([0 63],1,100);
x = 2*(randn(512,1)+1j*randn(512,1));
|
x = randi([0 63],1,100);
x = 2*(randn(512,1)+1j*randn(512,1));
|
DPSK |
x = randi([0 63],1,100);
x = 2*(randn(100,1)+1j*randn(100,1));
|
x = randi([0 63],1,100);
x=2*(randn(100,1)+1j*randn(100,1));
|
PSK |
x=randi([0 63],1,100);
x = 2*(randn(100,1)+1j*randn(100,1));
|
x=randi([0 63],1,100);
x = 2*(randn(100,1)+1j*randn(100,1));
|