📄 sq2qam_gray_demap.m
字号:
function out=sq2QAM_Gray_demap(input)
%%%-----constellation--------------
%%% 0-------- +1
%%% 1-------- -1
K=length(input);
for i=1:K
temp(i)=real(input(i));
end
for i=1:K
if temp(i)>0
t_out(i)=0;
else t_out(i)=1;
end
end
out=t_out; %%% serial sequence
clear K temp t_out
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -