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

📄 definestructures.m

📁 空间无线信道建模程序matlab
💻 M
字号:
function [sim_param_changeable, sim_param_unchangeable, sim_state_prototype] = DefineStructures

% unchangeable paramaters and their default values
sim_param_unchangeable = struct(...
    'sim_type', [], ...
    'SNR_type', 'Eb/No in dB', ...
    'framesize', [], ...
    'bicm', 1, ...
    'modulation', 'BPSK', ...
    'mod_order', 2, ...
    'mapping', 'gray', ...
    'h', [], ...
    'demod_type', [], ...
    'code_configuration', [], ...
    'g1', [], ...
    'nsc_flag1', [], ...
    'pun_pattern1', [], ...
    'tail_pattern1', [], ...
    'g2', [], ...
    'nsc_flag2', [], ...
    'pun_pattern2', [], ...
    'tail_pattern2', [], ...
    'decoder_type', [], ...
    'max_iterations', 1, ...
    'code_interleaver', [], ...
    'parity_check_matrix', [], ...
    'channel', 'AWGN', ...
    'blocks_per_frame', [], ...
    'N_IR', [], ...
    'X_set', [], ...
    'P', [], ...
    'combining_type', [], ...
    'rate', [], ...
    'csi_flag', [], ...
    'bwconstraint', [], ...
    'bwdatabase', [], ...
    'code_bits_per_frame', [] );

sim_param_changeable = struct( ...
    'SNR', [], ...
    'filename', [], ...
    'comment', [], ...
    'legend', [], ...
    'linetype', 'k', ...
    'plot_iterations', [], ...
    'save_rate', 100, ...
    'reset', 0, ...
    'max_trials', [], ...
    'minBER', 1e-6, ...
    'minFER', 1e-6, ...
    'max_frame_errors', [], ...
    'compiled_mode', 0, ...
    'input_filename', [], ...
    'trial_size', 1, ...
    'scenarios', [] );

sim_state_prototype = struct( ...
    'trials', [], ...
    'capacity_sum', [], ...
    'capacity_avg', [], ...
    'frame_errors', [], ...
    'symbol_errors', [], ...
    'bit_errors', [], ...
    'FER', [], ...
    'SER', [], ...
    'BER', [], ...
    'throughput', [], ...
    'min_rate', [], ...
    'best_rate', [], ...
    'min_EsNodB', [], ...
    'min_EbNodB', [] );










⌨️ 快捷键说明

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