start.m

来自「WCDMA的simulink编程」· M 代码 · 共 37 行

M
37
字号
function [N, K,tail ] = start(nCode, ch_mode,I_label,S_label,cols)%%% nCode = spreading factor% ch_mode = mode indicating the channel coding scheme%      1 = Convolutional coding with ratio 1/3 and memory length 9     %      2 = Convolutional coding with ratio 1/2 and memory length 9 (NOT YET)     %      3 = Turbo coding (NOT YET)%%%% N = Block size% K = Coding ratio% tail = tail length%%%%ch_modeN = 80K = 3 ;tail = 8;if (ch_mode > 1)    disp('Only the convolutiona channel coding (1/3, 9) is implemented currently');        return;end;if (nargin > 2)if (I_label>0)      rows = cols;end;end;

⌨️ 快捷键说明

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