⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pdcch_cce.m

📁 尽量不要让站长把时间都花费在为您修正说明上。压缩包解压时不能有密码。
💻 M
字号:

%  N_RB is the number of resource block on the downlink transmission

%  n_PHICH is the number of REG used for the transmission of PHICH.
%  N_symb is the number of OFDM symbols used for transmission of PDCCHs in a subframe.
%  N_CCE is the number of CCE about PDCCH.
%  N_REG is the number of REG about PDCCH.

function [N_REG,N_CCE] = PDCCH_CCE(N_RB,n_PHICH,N_symb,p )
switch N_symb             %OFDM符号
    case 1
        N_REG = N_RB * 2 - n_PHICH - 4;%每个RB中有2个或3个REG;4是指用来传PCFICH的REG数;
        N_CCE = floor(N_REG/9);
    case 2
        if P == 4
            N_REG = N_RB * (2+2) - n_PHICH - 4;
            N_CCE = floor(N_REG/9);
        else
            N_REG = N_RB * (2+3) - n_PHICH - 4;
            N_CCE = floor(N_REG/9);
        end;
    case 3
        if P == 4
            N_REG = N_RB * (2+2+3) - n_PHICH - 4;
            N_CCE = floor(N_REG/9);
        else
            N_REG = N_RB * (2+3+3) - n_PHICH - 4;
            N_CCE = floor(N_REG/9);
        end;
    case 4
        if P == 4
                N_REG = N_RB * (2+2+3+3) - n_PHICH - 4;
                N_CCE = floor(N_REG/9);
            
        else
                N_REG = N_RB * (2+3+3+3) - n_PHICH - 4;
                N_CCE = floor(N_REG/9);
          
        end;
end;

⌨️ 快捷键说明

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