www.pudn.com > wcdma_simulink.rar > start.m


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_mode

N = 80
K = 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;