📄 wimaxctcscenarios.m
字号:
sim_param(record).filename = strcat( data_directory, sim_param(record).modulation, ...
int2str( sim_param(record).code_bits_per_frame), 'comma', int2str( sim_param(record).framesize), ...
sim_param(record).channel, '.mat');
sim_param(record).comment = sprintf( '(%d,%d) %s %s', sim_param(record).code_bits_per_frame/8, sim_param(record).framesize/8, ...
sim_param(record).modulation, sim_param(record).channel );
sim_param(record).legend = sim_param(record).comment;
sim_param(record).sim_type = 'coded';
sim_param(record).code_configuration = 5; % Wimax CTC
sim_param(record).SNR = [0:0.2:10];
sim_param(record).SNR_type = 'Eb/No in dB';
sim_param(record).bicm = 0;
sim_param(record).demod_type = 0; % linear-log-MAP demapper
sim_param(record).decoder_type = 0; % linear-log-MAP demapper
sim_param(record).max_iterations = 10;
sim_param(record).reset = 0;
sim_param(record).max_trials = 1e9*ones( size(sim_param(record).SNR) );
sim_param(record).minBER = MINBER;
sim_param(record).max_frame_errors = num_errors*ones( size(sim_param(record).SNR) );
sim_param(record).plot_iterations = sim_param(record).max_iterations;
sim_param(record).save_rate = floor(1e6/sim_param(record).framesize);
sim_param(record).linetype = 'k-';
% (120,60) QPSK
record = 9;
sim_param(record).framesize = 60*8;
sim_param(record).code_bits_per_frame = 120*8;
sim_param(record).modulation = 'QPSK';
sim_param(record).mod_order = 4;
sim_param(record).channel = 'AWGN';
sim_param(record).filename = strcat( data_directory, sim_param(record).modulation, ...
int2str( sim_param(record).code_bits_per_frame), 'comma', int2str( sim_param(record).framesize), ...
sim_param(record).channel, '.mat');
sim_param(record).comment = sprintf( '(%d,%d) %s %s', sim_param(record).code_bits_per_frame/8, sim_param(record).framesize/8, ...
sim_param(record).modulation, sim_param(record).channel );
sim_param(record).legend = sim_param(record).comment;
sim_param(record).sim_type = 'coded';
sim_param(record).code_configuration = 5; % Wimax CTC
sim_param(record).SNR = [0:0.2:10];
sim_param(record).SNR_type = 'Eb/No in dB';
sim_param(record).bicm = 0;
sim_param(record).demod_type = 0; % linear-log-MAP demapper
sim_param(record).decoder_type = 0; % linear-log-MAP demapper
sim_param(record).max_iterations = 10;
sim_param(record).reset = 0;
sim_param(record).max_trials = 1e9*ones( size(sim_param(record).SNR) );
sim_param(record).minBER = MINBER;
sim_param(record).max_frame_errors = num_errors*ones( size(sim_param(record).SNR) );
sim_param(record).plot_iterations = sim_param(record).max_iterations;
sim_param(record).save_rate = floor(1e6/sim_param(record).framesize);
sim_param(record).linetype = 'k-';
% (12,9) QPSK (rate 3/4)
record = 10;
sim_param(record).framesize = 9*8;
sim_param(record).code_bits_per_frame = 12*8;
sim_param(record).modulation = 'QPSK';
sim_param(record).mod_order = 4;
sim_param(record).channel = 'AWGN';
sim_param(record).filename = strcat( data_directory, sim_param(record).modulation, ...
int2str( sim_param(record).code_bits_per_frame), 'comma', int2str( sim_param(record).framesize), ...
sim_param(record).channel, '.mat');
sim_param(record).comment = sprintf( '(%d,%d) %s %s', sim_param(record).code_bits_per_frame/8, sim_param(record).framesize/8, ...
sim_param(record).modulation, sim_param(record).channel );
sim_param(record).legend = sim_param(record).comment;
sim_param(record).sim_type = 'coded';
sim_param(record).code_configuration = 5; % Wimax CTC
sim_param(record).SNR = [0:0.5:10];
sim_param(record).SNR_type = 'Eb/No in dB';
sim_param(record).bicm = 0;
sim_param(record).demod_type = 0; % linear-log-MAP demapper
sim_param(record).decoder_type = 0; % linear-log-MAP demapper
sim_param(record).max_iterations = 10;
sim_param(record).reset = 0;
sim_param(record).max_trials = 1e9*ones( size(sim_param(record).SNR) );
sim_param(record).minBER = MINBER;
sim_param(record).max_frame_errors = num_errors*ones( size(sim_param(record).SNR) );
sim_param(record).plot_iterations = sim_param(record).max_iterations;
sim_param(record).save_rate = floor(1e6/sim_param(record).framesize);
sim_param(record).linetype = 'k--';
% (24,18) QPSK (rate 3/4)
record = 11;
sim_param(record).framesize = 18*8;
sim_param(record).code_bits_per_frame = 24*8;
sim_param(record).modulation = 'QPSK';
sim_param(record).mod_order = 4;
sim_param(record).channel = 'AWGN';
sim_param(record).filename = strcat( data_directory, sim_param(record).modulation, ...
int2str( sim_param(record).code_bits_per_frame), 'comma', int2str( sim_param(record).framesize), ...
sim_param(record).channel, '.mat');
sim_param(record).comment = sprintf( '(%d,%d) %s %s', sim_param(record).code_bits_per_frame/8, sim_param(record).framesize/8, ...
sim_param(record).modulation, sim_param(record).channel );
sim_param(record).legend = sim_param(record).comment;
sim_param(record).sim_type = 'coded';
sim_param(record).code_configuration = 5; % Wimax CTC
sim_param(record).SNR = [0:0.25:10];
sim_param(record).SNR_type = 'Eb/No in dB';
sim_param(record).bicm = 0;
sim_param(record).demod_type = 0; % linear-log-MAP demapper
sim_param(record).decoder_type = 0; % linear-log-MAP demapper
sim_param(record).max_iterations = 10;
sim_param(record).reset = 0;
sim_param(record).max_trials = 1e9*ones( size(sim_param(record).SNR) );
sim_param(record).minBER = MINBER;
sim_param(record).max_frame_errors = num_errors*ones( size(sim_param(record).SNR) );
sim_param(record).plot_iterations = sim_param(record).max_iterations;
sim_param(record).save_rate = floor(1e6/sim_param(record).framesize);
sim_param(record).linetype = 'k--';
% (36,27) QPSK (rate 3/4)
record = 12;
sim_param(record).framesize = 27*8;
sim_param(record).code_bits_per_frame = 36*8;
sim_param(record).modulation = 'QPSK';
sim_param(record).mod_order = 4;
sim_param(record).channel = 'AWGN';
sim_param(record).filename = strcat( data_directory, sim_param(record).modulation, ...
int2str( sim_param(record).code_bits_per_frame), 'comma', int2str( sim_param(record).framesize), ...
sim_param(record).channel, '.mat');
sim_param(record).comment = sprintf( '(%d,%d) %s %s', sim_param(record).code_bits_per_frame/8, sim_param(record).framesize/8, ...
sim_param(record).modulation, sim_param(record).channel );
sim_param(record).legend = sim_param(record).comment;
sim_param(record).sim_type = 'coded';
sim_param(record).code_configuration = 5; % Wimax CTC
sim_param(record).SNR = [0:0.25:10];
sim_param(record).SNR_type = 'Eb/No in dB';
sim_param(record).bicm = 0;
sim_param(record).demod_type = 0; % linear-log-MAP demapper
sim_param(record).decoder_type = 0; % linear-log-MAP demapper
sim_param(record).max_iterations = 10;
sim_param(record).reset = 0;
sim_param(record).max_trials = 1e9*ones( size(sim_param(record).SNR) );
sim_param(record).minBER = MINBER;
sim_param(record).max_frame_errors = num_errors*ones( size(sim_param(record).SNR) );
sim_param(record).plot_iterations = sim_param(record).max_iterations;
sim_param(record).save_rate = floor(1e6/sim_param(record).framesize);
sim_param(record).linetype = 'k--';
% (48,36) QPSK (rate 3/4)
record = 13;
sim_param(record).framesize = 36*8;
sim_param(record).code_bits_per_frame = 48*8;
sim_param(record).modulation = 'QPSK';
sim_param(record).mod_order = 4;
sim_param(record).channel = 'AWGN';
sim_param(record).filename = strcat( data_directory, sim_param(record).modulation, ...
int2str( sim_param(record).code_bits_per_frame), 'comma', int2str( sim_param(record).framesize), ...
sim_param(record).channel, '.mat');
sim_param(record).comment = sprintf( '(%d,%d) %s %s', sim_param(record).code_bits_per_frame/8, sim_param(record).framesize/8, ...
sim_param(record).modulation, sim_param(record).channel );
sim_param(record).legend = sim_param(record).comment;
sim_param(record).sim_type = 'coded';
sim_param(record).code_configuration = 5; % Wimax CTC
sim_param(record).SNR = [0:0.25:10];
sim_param(record).SNR_type = 'Eb/No in dB';
sim_param(record).bicm = 0;
sim_param(record).demod_type = 0; % linear-log-MAP demapper
sim_param(record).decoder_type = 0; % linear-log-MAP demapper
sim_param(record).max_iterations = 10;
sim_param(record).reset = 0;
sim_param(record).max_trials = 1e9*ones( size(sim_param(record).SNR) );
sim_param(record).minBER = MINBER;
sim_param(record).max_frame_errors = num_errors*ones( size(sim_param(record).SNR) );
sim_param(record).plot_iterations = sim_param(record).max_iterations;
sim_param(record).save_rate = floor(1e6/sim_param(record).framesize);
sim_param(record).linetype = 'k--';
% (60,45) QPSK (rate 3/4)
record = 14;
sim_param(record).framesize = 45*8;
sim_param(record).code_bits_per_frame = 60*8;
sim_param(record).modulation = 'QPSK';
sim_param(record).mod_order = 4;
sim_param(record).channel = 'AWGN';
sim_param(record).filename = strcat( data_directory, sim_param(record).modulation, ...
int2str( sim_param(record).code_bits_per_frame), 'comma', int2str( sim_param(record).framesize), ...
sim_param(record).channel, '.mat');
sim_param(record).comment = sprintf( '(%d,%d) %s %s', sim_param(record).code_bits_per_frame/8, sim_param(record).framesize/8, ...
sim_param(record).modulation, sim_param(record).channel );
sim_param(record).legend = sim_param(record).comment;
sim_param(record).sim_type = 'coded';
sim_param(record).code_configuration = 5; % Wimax CTC
sim_param(record).SNR = [0:0.25:10];
sim_param(record).SNR_type = 'Eb/No in dB';
sim_param(record).bicm = 0;
sim_param(record).demod_type = 0; % linear-log-MAP demapper
sim_param(record).decoder_type = 0; % linear-log-MAP demapper
sim_param(record).max_iterations = 10;
sim_param(record).reset = 0;
sim_param(record).max_trials = 1e9*ones( size(sim_param(record).SNR) );
sim_param(record).minBER = MINBER;
sim_param(record).max_frame_errors = num_errors*ones( size(sim_param(record).SNR) );
sim_param(record).plot_iterations = sim_param(record).max_iterations;
sim_param(record).save_rate = floor(1e6/sim_param(record).framesize);
sim_param(record).linetype = 'k--';
% (72,54) QPSK (rate 3/4)
record = 15;
sim_param(record).framesize = 54*8;
sim_param(record).code_bits_per_frame = 72*8;
sim_param(record).modulation = 'QPSK';
sim_param(record).mod_order = 4;
sim_param(record).channel = 'AWGN';
sim_param(record).filename = strcat( data_directory, sim_param(record).modulation, ...
int2str( sim_param(record).code_bits_per_frame), 'comma', int2str( sim_param(record).framesize), ...
sim_param(record).channel, '.mat');
sim_param(record).comment = sprintf( '(%d,%d) %s %s', sim_param(record).code_bits_per_frame/8, sim_param(record).framesize/8, ...
sim_param(record).modulation, sim_param(record).channel );
sim_param(record).legend = sim_param(record).comment;
sim_param(record).sim_type = 'coded';
sim_param(record).code_configuration = 5; % Wimax CTC
sim_param(record).SNR = [0:0.2:10];
sim_param(record).SNR_type = 'Eb/No in dB';
sim_param(record).bicm = 0;
sim_param(record).demod_type = 0; % linear-log-MAP demapper
sim_param(record).decoder_type = 0; % linear-log-MAP demapper
sim_param(record).max_iterations = 10;
sim_param(record).reset = 0;
sim_param(record).max_trials = 1e9*ones( size(sim_param(record).SNR) );
sim_param(record).minBER = MINBER;
sim_param(record).max_frame_errors = num_errors*ones( size(sim_param(record).SNR) );
sim_param(record).plot_iterations = sim_param(record).max_iterations;
sim_param(record).save_rate = floor(1e6/sim_param(record).framesize);
sim_param(record).linetype = 'k--';
% (24,12) 16-QAM
record = 16;
sim_param(record).framesize = 12*8;
sim_param(record).code_bits_per_frame = 24*8;
sim_param(record).modulation = 'QAM';
sim_param(record).mod_order = 16;
sim_param(record).mapping = mapping_16;
sim_param(record).channel = 'AWGN';
sim_param(record).filename = strcat( data_directory, sim_param(record).modulation, int2str( sim_param(record).mod_order), ...
'N', int2str( sim_param(record).code_bits_per_frame), 'comma', int2str( sim_param(record).framesize), ...
sim_param(record).channel, '.mat');
sim_param(record).comment = sprintf( '(%d,%d) %s %s', sim_param(record).code_bits_per_frame/8, sim_param(record).framesize/8, ...
sim_param(record).modulation, sim_param(record).channel );
sim_param(record).legend = sim_param(record).comment;
sim_param(record).sim_type = 'coded';
sim_param(record).code_configuration = 5; % Wimax CTC
sim_param(record).SNR = [0:0.25:10];
sim_param(record).SNR_type = 'Eb/No in dB';
sim_param(record).bicm = 1;
sim_param(record).demod_type = 0; % linear-log-MAP demapper
sim_param(record).decoder_type = 0; % linear-log-MAP demapper
sim_param(record).max_iterations = 10;
sim_param(record).reset = 0;
sim_param(record).max_trials = 1e9*ones( size(sim_param(record).SNR) );
sim_param(record).minBER = MINBER;
sim_param(record).max_frame_errors = num_errors*ones( size(sim_param(record).SNR) );
sim_param(record).plot_iterations = sim_param(record).max_iterations;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -