mctc_ildil.m

来自「OFDMA 物理层开发的matlab 源码.飞思卡尔提供.对物理层开发的工程师有」· M 代码 · 共 25 行

M
25
字号


function [inputA,inputB] = mCTC_ILDIL(Nep,x_sysA,x_sysB)

%CTC_IL
% For decoder two: interleave the systematic bits
for j = 1:Nep/2
    if (mod(j,2)==0)    % updated for std compliancy
        tmp = x_sysB(j);% switch the couple
        x_sysB(j) = x_sysA(j);
        x_sysA(j) = tmp;
    end
end

% Interleaved address for CTC interleaver, similar with the transmitter
alpha = mTx_add_inter (Nep/2);

for j = 1:Nep/2      % updated for std compliancy
    inputA(j) = x_sysA(alpha(j)+1);
    inputB(j) = x_sysB(alpha(j)+1);
end



⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?