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::Array
General array class.
Definition array.h:105
itpp::OFDM
Class for modulating and demodulation of OFDM signals using the FFT.
Definition ofdm.h:47
itpp::OFDM::no_carriers
int no_carriers()
Return the number of carriers.
Definition ofdm.h:54
itpp::OFDM::OFDM
OFDM(void)
Empty constructor.
Definition ofdm.h:50
itpp
itpp namespace
Definition itmex.h:37
vec.h
Templated Vector Class Definitions.

Generated on Mon Jun 10 2024 11:49:22 for IT++ by Doxygen 1.9.8