ms_fqi_initialization.m

来自「cdma2000的matlab平台仿真」· M 代码 · 共 37 行

M
37
字号
% ms_fqi_initialization;
xpaddedframelength=xframelength;
switch xrc
    case 3
        switch xframelength
            case {16,40}
                xgenpoly=[6 2 1 0];
            case 80
                xgenpoly=[8 7 4 3 1 0];
            case 172
                xgenpoly=[12 11 10 9 8 4 1 0];
            case {24,360,744 1512,3048,6120}
                xgenpoly=[16 15 14 11 6 5 2 1 0];
            otherwise
                error('Frame quality indicator中RC3配置的帧长度不可用');
        end
    case 4
        switch xframelength
            case 21
                xpaddedframelength=22;
                xgenpoly=[6 2 1 0];
            case 55
                xpaddedframelength=56;
                xgenpoly=[8 7 4 3 1 0];
            case 125
                xpaddedframelength=126;
                xgenpoly=[10 9 8 7 6 4 3 0];
            case 267
                xpaddedframelength=268;
                xgenpoly=[12 11 10 9 8 4 1 0];
            case {24 552 1128 2280 4584}
                xgenpoly=[16 15 14 11 6 5 2 1 0];                
            otherwise
                error('Frame quality indicator中RC4配置的帧长度不可用');
        end
end
                

⌨️ 快捷键说明

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