⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 set_sim_consts2.m

📁 LDPC码在TD-SCDMA系统中的应用仿真程序
💻 M
字号:
function sim_consts = set_sim_consts
% set the parameters used in the simulation.

    global sim_consts;
    
    % downlink's parameters;
    
    sim_consts.ferrlim = 300 ;                                    % the max error frame number
    sim_consts.nframeAll = 1000 ;                                  % the max number of frame
    sim_consts.errAll = 300;                                     % the max error bit number
    %  sim_consts.EbN0 = [-15.0  -10.0 -5.0 -4 -2 0 1.0 2.0 ] ;   % Signal Noise Ratio
    sim_consts.EbN0 = [ -3:0.1:0 ] ;                                  % Signal Noise Ratio
    sim_consts.a = 1 ;    
    
    sim_consts.hsig = zeros(8,864);                             % init 8 antennas's h
    sim_consts.gu = zeros(8,4);                                 % init 8 antennas's estimated h
    
    
    % turbo codec's parameters
    sim_consts.dec_alg = 1;    
    sim_consts.L_total = 234;	 % infomation bits plus tail bits
    sim_consts.g = [ 1 1 1; 1 0 1 ];     
    sim_consts.puncture = 1;
    sim_consts.niter = 8;

⌨️ 快捷键说明

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