sim.h

来自「WCDMA的仿真程序,分别用C和MATLAB两种语言仿真」· C头文件 代码 · 共 36 行

H
36
字号
/////////////////////////////////////////////
//  Class Definitions if SimConfigClass and ErrorRunClass
//
// Copyright 2002 The Mobile and Portable Radio Research Group
//
/////////////////////////////////////////////


class SimConfigClass
{
public:
	unsigned	S_CCPCHformatID;	//Format ID for S_CCPCH
	unsigned	PDSCHformatID;		//Format ID for PDSCH
	unsigned	DesiredDPCHformatID;//Format ID for Desired DPCH
	unsigned	Num_DPCH;			//Number of remaining DPCHs
	unsigned	NumDPCCHforCPCH;	//Number of DPCCHs for CPCH
	unsigned	NumS_CPICH;			//Number of S_CPICH
	bool		STTDflag;			//STTD flag
	unsigned	*OtherDPCHformatID;	//Format ID for remaining DPCHs
	unsigned	PulseLength;		//Pulse length
	unsigned	SamplesPerChip;		//Oversampling rate
	unsigned	MPathComponents;	//Number of Multipath Components
	double		EbNo_dB;			//EbNo in dB
	double		Velocity;			//Velocity in km/hr
	double		*Delays;			//Delay of each multipath component
	double		*Amplitudes;		//Amplitude of each multipath component
	unsigned	Iterations;			//Number of Frames to be processed
};

class ErrorRunClass
{
public:
	unsigned	Length;		//Number of elements in the array
	unsigned	*Array;		//The array itself
};

⌨️ 快捷键说明

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