#include <itpp/comm/ofdm.h>
Public Member Functions | |
OFDM (void) | |
Empty constructor. | |
OFDM (int inNfft, int inNcp, int inNupsample=1) | |
Constructor Nfft is the size of the FFT. Ncp is the length of the cyclic prefix. Nupsample is the upsampling factor (default=1). | |
int | no_carriers () |
Return the number of carriers. | |
void | set_parameters (const int Nfft, const int Ncp, const int inNupsample=1) |
Set parameters. | |
cvec | modulate (const cvec &input) |
Modulate complex data symbols. Length of input must be Nfft . | |
void | modulate (const cvec &input, cvec &output) |
Modulate complex data symbols. Length of input must be Nfft . | |
cvec | demodulate (const cvec &input) |
Demodulate to complex valued symbols. Length of input must be Nfft+Ncp . | |
void | demodulate (const cvec &input, cvec &output) |
Demodulate to complex valued symbols. Length of input must be Nfft+Ncp . |
The modulated signal is normalized taking into account the cyclic prefix
Definition at line 48 of file ofdm.h.
itpp::OFDM::OFDM | ( | int | inNfft, | |
int | inNcp, | |||
int | inNupsample = 1 | |||
) |
Constructor Nfft is the size of the FFT. Ncp is the length of the cyclic prefix. Nupsample is the upsampling factor (default=1).
Definition at line 43 of file ofdm.cpp.
References set_parameters().
int itpp::OFDM::no_carriers | ( | ) | [inline] |
void itpp::OFDM::set_parameters | ( | const int | Nfft, | |
const int | Ncp, | |||
const int | inNupsample = 1 | |||
) |
cvec itpp::OFDM::modulate | ( | const cvec & | input | ) |
void itpp::OFDM::modulate | ( | const cvec & | input, | |
cvec & | output | |||
) |
cvec itpp::OFDM::demodulate | ( | const cvec & | input | ) |
void itpp::OFDM::demodulate | ( | const cvec & | input, | |
cvec & | output | |||
) |
Generated on Thu Apr 19 14:43:49 2007 for IT++ by Doxygen 1.5.1