Home > WaveComBox > Toolbox > CP_OFDM > OFDM_InitializeChainParameters.m

OFDM_InitializeChainParameters

PURPOSE ^

Initializes modulation parameters to default values.

SYNOPSIS ^

function [ Para ] = OFDM_InitializeChainParameters( )

DESCRIPTION ^

 Initializes modulation parameters to default values.

 function [ Para ] = CP_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 ] = OFDM_InitializeChainParameters(  )
0002 % Initializes modulation parameters to default values.
0003 %
0004 % function [ Para ] = CP_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: François Rottenberg, May 3, 2018.
0016 % Contributors:
0017 % Change log:
0018 
0019 Para.Modulation= 'CP-OFDM';
0020 Para.nSubcarriers=128; % Number of subcarriers
0021 Para.ActiveSubcarriers=[1:Para.nSubcarriers]; % Set of active subcarriers
0022 Para.Ns=1000; % Number of OFDM multicarrier symbols
0023 Para.T=1/15e3; % OFDM multicarrier symbol period [s]
0024 Para.CP=1/4; % 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 
0029 Para.N_T=1; % Number of transmitted antennas
0030 Para.N_R=1; % Number of received antennas
0031 Para.S=1; % Number of spatial streams
0032 
0033 Para.Es_N0_dB=15; % Signal-to-noise ratio [dB]
0034 Para.Es=1; % Symbol energy
0035 Para.M_QAM=4; % QAM modulation order
0036 
0037 % Parameters of the preamble
0038 Para.PreamblePilotSubcarriers=[]; % Pilot subcarriers in the preamble
0039 Para.PreambleLength=0; % Length of the preamble [T]
0040 
0041 % Parameters of scattered pilots
0042 Para.ScatteredPilotSubcarriers=[]; % Pilot subcarriers in the data frame
0043 Para.ScatteredPilotSymbols=[];
0044 Para.Ep=0; % Energy of the scattered pilot symbols
0045 
0046 end
0047

Generated on Mon 14-Oct-2019 13:48:34 by m2html © 2005