ofdm.h
Go to the documentation of this file.
#ifndef OFDM_H
#define OFDM_H
#include <itpp/base/vec.h>
#include <itpp/itexports.h>
namespace itpp
{
class ITPP_EXPORT OFDM
{
public:
OFDM(void) { setup_done = false; }
OFDM(int inNfft, int inNcp, int inNupsample = 1);
int no_carriers() {return Nfft;}
void set_parameters(const int Nfft, const int Ncp, const int inNupsample = 1);
cvec modulate(const cvec &input);
void modulate(const cvec &input, cvec &output);
cvec demodulate(const cvec &input);
void demodulate(const cvec &input, cvec &output);
private:
double norm_factor;
bool setup_done;
int Nfft, Ncp, Nupsample;
};
} // namespace itpp
#endif // #ifndef OFDM_H
itpp::OFDM::no_carriers
int no_carriers()
Return the number of carriers.
Definition: ofdm.h:54
itpp::OFDM
Class for modulating and demodulation of OFDM signals using the FFT.
Definition: ofdm.h:46
itpp::OFDM::OFDM
OFDM(void)
Empty constructor.
Definition: ofdm.h:50
vec.h
Templated Vector Class Definitions.

Generated on Thu Mar 20 2014 12:26:42 for IT++ by Doxygen 1.8.6