itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
Public Member Functions | Public Attributes | List of all members
SIM::cofdm_dem Class Reference

COFDM demodulator
Core immediate functions SIM::cofdm_dem.set_symbol(), SIM::cofdm_mod.get_carriers()
Core clocked functions SIM::cofdm_dem.process()
. More...

Inheritance diagram for SIM::cofdm_dem:
Inheritance graph
[legend]

Public Member Functions

 cofdm_dem ()
 
 ~cofdm_dem ()
 
void set_NFFT (int n)
 
void set_CP (int cp)
 
void set_scale (double s)
 
void set_symbol (cvec x)
 
int get_NFFT ()
 
int get_CP ()
 
double get_scale ()
 
cvec get_symbol ()
 
cvec get_carriers ()
 
cmat process (const bvec &ce, const cmat &x)
 

Public Attributes

cvec y0
 y0 - demodulated carriers (frequency domain) More...
 

Detailed Description

COFDM demodulator
Core immediate functions SIM::cofdm_dem.set_symbol(), SIM::cofdm_mod.get_carriers()
Core clocked functions SIM::cofdm_dem.process()
.

itpp::OFDM derived class

Constructor & Destructor Documentation

SIM::cofdm_dem::cofdm_dem ( )
inline
SIM::cofdm_dem::~cofdm_dem ( )
inline

Member Function Documentation

cvec SIM::cofdm_dem::get_carriers ( )

get carriers - by setting new demodulator output - complex carriers CC = [I+jQ]

Returns
- [cvec] complex carriers CC = [I+jQ]
int SIM::cofdm_dem::get_CP ( )

get CP size

Returns
- [int] CP size
int SIM::cofdm_dem::get_NFFT ( )

get FFT size

Returns
- [int] FFT size
double SIM::cofdm_dem::get_scale ( )

get scaling factor

Returns
- [double] scaling factor
cvec SIM::cofdm_dem::get_symbol ( )

get symbol - demodulator input - complex time domain samples x = [CP|INV_FFT(CC)]]

Returns
[cvec] complex time domain samples
cmat SIM::cofdm_dem::process ( const bvec &  ce,
const cmat &  x 
)

for active clock ticks ce[i] and for cofdm symbol x[i,:] return QAM, BPSK carriers y[i,:].

Parameters
ce- bvec[:] - clock_enable vector,
x- cmat[:,NFFT+CP] - cofdm symbols matrix,
Returns
y - cmat[:,NFFT] - carriers matrix - QAM for data and BPSK for pilot carriers.
void SIM::cofdm_dem::set_CP ( int  cp)

set size of CP - Circular Prefix

Parameters
[in]cp- CP size
void SIM::cofdm_dem::set_NFFT ( int  n)

set FFT size (N=2^k)

Parameters
[in]n- FFT size
void SIM::cofdm_dem::set_scale ( double  s)

set scale - default scaling is set by set_NFFT() and set_CP()

Parameters
[in]s- scale
void SIM::cofdm_dem::set_symbol ( cvec  x)

set symbol - demodulator input - complex time domain samples x = [CP|INV_FFT(CC)]]

Parameters
[in]x- complex time domain samples

Member Data Documentation

cvec SIM::cofdm_dem::y0

y0 - demodulated carriers (frequency domain)


The documentation for this class was generated from the following files: