📄 sq2qam_gray_map.m
字号:
function out=sq2QAM_Gray_map(input)
%%%-----constellation--------------
%%% 0-------- +1
%%% 1-------- -1
K=length(input);
d=1;
x=d*[+1,-1];
temp=input;
for i=1:K
if temp(i)==0
t_out(i)=x(1);
else t_out(i)=x(2);
end
end
out=t_out.'; %%% parrallel complex constellations sequence
clear K d x temp t_out
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -