Home > WaveComBox > Toolbox > W_OFDM > W_OFDM_InitializeChainParameters.m

W_OFDM_InitializeChainParameters

PURPOSE ^

Initializes modulation parameters to default values.

SYNOPSIS ^

function [ Para ] = W_OFDM_InitializeChainParameters( )

DESCRIPTION ^

 Initializes modulation parameters to default values.

 function [ Para ] = W_OFDM_InitializeChainParameters(  )

 Input arguments: none

 Outputs arguments:

   Para: modulation parameters

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [ Para ] = W_OFDM_InitializeChainParameters(  )
0002 % Initializes modulation parameters to default values.
0003 %
0004 % function [ Para ] = W_OFDM_InitializeChainParameters(  )
0005 %
0006 % Input arguments: none
0007 %
0008 % Outputs arguments:
0009 %
0010 %   Para: modulation parameters
0011 %
0012 
0013 % This file is part of WaveComBox: www.wavecombox.com and is distributed under
0014 % the terms of the MIT license. See accompanying LICENSE file.
0015 % Original author: Mathieu Van Eeckhaute, September 26, 2018.
0016 % Contributors:
0017 % Change log:
0018 
0019 Para.Modulation= 'W-OFDM';
0020 Para.nSubcarriers=1024; % Number of subcarriers
0021 Para.ActiveSubcarriers = [213:812];
0022 Para.Ns = 20; % Number of OFDM multicarrier symbols
0023 Para.T = 1/15e3; % OFDM multicarrier symbol period [s]
0024 Para.CP = 72/Para.nSubcarriers; % duration of the cyclic prefix as a fraction of the symbol period
0025 Para.CenterFrequency = 1e9; % Center frequency of the transmitted signal [Hz]
0026 Para.Velocity = 0; % Velocity [km/h]
0027 
0028 %Window parameters
0029 Para.win_L           = 32; %number of samples until sqrt(2)/2
0030 Para.L               = 2*Para.win_L+Para.nSubcarriers+Para.CP*Para.nSubcarriers;
0031 %Derived parameters
0032 Para.M         = length(Para.ActiveSubcarriers);
0033 Para.alpha_win       = 2*Para.win_L/Para.L; 
0034 
0035 Para.N_T=1; % Number of transmitted antennas
0036 Para.N_R=1; % Number of received antennas
0037 Para.S=1; % Number of spatial streams
0038 
0039 Para.Es_N0_dB=25; % Signal-to-noise ratio [dB]
0040 Para.Es=1; % Symbol energy
0041 Para.M_QAM=4; % QAM modulation order
0042 
0043 % Parameters of the preamble
0044 Para.PreamblePilotSubcarriers=[]; % Pilot subcarriers in the preamble
0045 Para.PreambleLength=0; % Length of the preamble [T]
0046 
0047 % Parameters of scattered pilots
0048 Para.ScatteredPilotSubcarriers=[]; % Pilot subcarriers in the data frame
0049 Para.ScatteredPilotSymbols=[];
0050 Para.Ep=0; % Energy of the scattered pilot symbols
0051 
0052 end
0053

Generated on Mon 24-Jun-2019 13:51:48 by m2html © 2005