ms_fqi_initialization.m

来自「cdma2000的系统建模及实现 包括信源编码」· M 代码 · 共 36 行

M
36
字号
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('Error:Invalid Frame Length for Radio Configration 3 in cdma 2000 Mobile Station block<Frame Quality Indicator>');
        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('Error:Invalid Frame Length for Radio configuration 4 in cdma 2000 Mobile Station block<Frame Quality Indicator>');
        end
                
end        

⌨️ 快捷键说明

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