📄 dl_demodulation_04.m
字号:
function estimated=DL_Demodulation_04(s)
%% Demodulation
k=1;
for m=1:length(s)
if(real(s(m))>=0)
estimated(k)=0;
else estimated(k)=1;
end
if(imag(s(m))>=0)
estimated(k+1)=0;
else estimated(k+1)=1;
end
if(abs(real(s(m)))<=(2/sqrt(10)))
estimated(k+2)=0;
else estimated(k+2)=1;
end
if(abs(imag(s(m)))<=(2/sqrt(10)))
estimated(k+3)=0;
else estimated(k+3)=1;
end
k=k+4;
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -