itpp
comm
ofdm.h
Go to the documentation of this file.
1
30
#ifndef OFDM_H
31
#define OFDM_H
32
33
#include <
itpp/base/vec.h
>
34
#include <itpp/itexports.h>
35
36
37
namespace
itpp
38
{
39
46
class
ITPP_EXPORT
OFDM
47
{
48
public
:
50
OFDM
(
void
) { setup_done =
false
; }
52
OFDM
(
int
inNfft
,
int
inNcp
,
int
inNupsample
= 1);
54
int
no_carriers
() {
return
Nfft;}
56
void
set_parameters(
const
int
Nfft,
const
int
Ncp,
const
int
inNupsample
= 1);
58
cvec modulate(
const
cvec &input);
60
void
modulate(
const
cvec &input, cvec &output);
62
cvec demodulate(
const
cvec &input);
64
void
demodulate(
const
cvec &input, cvec &output);
65
private
:
66
double
norm_factor;
67
bool
setup_done;
68
int
Nfft, Ncp, Nupsample;
69
};
70
71
}
// namespace itpp
72
73
#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 Tue Aug 17 2021 10:59:15 for IT++ by
Doxygen
1.9.8