ceshi.m
来自「Matlab数字通信系统仿真与实现」· M 代码 · 共 12 行
M
12 行
L_total = 10;
g = [ 1 1 1;
1 0 1 ];
[n,K] = size(g);
m = 2;
puncture = 0;
x = round(rand(1, L_total-m)); % info. bits
[temp, alpha] = sort(rand(1,L_total)); % random interleaver mapping
en_output = encoderm( x, g, alpha, puncture ) ; % encoder output (+1/-1)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?