tableforcrc3.asv

来自「gsm的物理层仿真实现」· ASV 代码 · 共 13 行

ASV
13
字号
function output = tablecreat(crc)
switch(crc)
case 3,
    for i=1:256
        temp1 = newcrcbit(dectobit(i),3);
        temp2 = [0 0 0 0 0 temp1(9:11)];
        output(i) = bittodec(temp2);
    end
case 6,
    for i=1:256
        temp1 = newcrcbit(dectobit(i),6);
        temp2 = [0 0 temp1(9:14)];
        outpo

⌨️ 快捷键说明

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