Go to the documentation of this file.
34 #include <itpp/itexports.h>
107 void spread(
const vec &symbols, vec &out);
109 vec
spread(
const vec &symbols) { vec out;
spread(symbols, out);
return out; }
113 void despread(
const vec &rec_signal, vec &out,
int timing);
118 { vec out; despread(rec_signal, out, timing);
return out; }
120 void set_code(
const vec &incode);
158 Spread_2d(
const vec &incodeI,
const vec &incodeQ);
160 void spread(
const cvec &symbols, cvec &out);
162 cvec
spread(
const cvec &symbols) { cvec out;
spread(symbols, out);
return out; }
166 void despread(
const cvec &rec_signal, cvec &out,
int timing);
171 { cvec out; despread(rec_signal, out, timing);
return out; }
173 void set_code(
const vec &incodeI,
const vec &incodeQ);
207 vec spread(
const vec &symbols);
209 vec despread(
const vec &receivedsignal,
int timing);
211 void set_codes(
const mat &incodes);
255 cvec spread(
const cvec &symbols);
257 cvec despread(
const cvec &receivedsignal,
int timing);
264 void set_codes(
const mat &incodesI,
const mat &incodesQ);
280 #endif // #ifndef SPREAD_H
Spreading of float symbols to float output.
Multicode_Spread_2d()
Constructor.
Multicode_Spread_1d mcspreadQ
Multicode_Spread_1d()
Constructor.
int get_period()
Returns the spreading factor.
Matrix Class Definitions.
Multicode spreading of complex symbols to complex output.
Multicode spreading of float symbols.
int L
The number of multi-codes.
vec code
The spreading code.
int get_nocodes()
Returns the number of multi-codes used.
int N
The spreading factor.
vec spread(const vec &symbols)
Spreading of signal.
cvec spread(const cvec &symbols)
Spreading of signal.
Spreading of complex symbols to complex output.
int get_period()
Get the period of the code (length of code vector).
int N
The spreading factor.
vec despread(const vec &rec_signal, int timing)
Despreading of signal. timing is the start position of the first symbol, given in number of samples.
Templated Vector Class Definitions.
int get_period()
Get the period of the code (length of code vector).
mat codes
The spreading codes used size ( )
cvec despread(const cvec &rec_signal, int timing)
Despreading of signal. timing is the start position of the first symbol, given in number of samples.
int get_period()
Returns the spreading factor.
Generated on Thu Apr 11 2019 00:00:00 for IT++ by Doxygen 1.8.18