Multicode spreading of float symbols. More...
|Multicode_Spread_1d (const mat &incodes)|
|vec||spread (const vec &symbols)|
|Spreading function. |
|vec||despread (const vec &receivedsignal, int timing)|
|Despreading of signal. timing is the start position of the first symbol, given in number of samples. |
|void||set_codes (const mat &incodes)|
|Set the spreading codes. Each row represent one spreading code. The spreading factor equals the number of columns. |
|Returns the matrix containing the spreading codes used as rows in the matrix. |
|Returns the spreading factor. |
|Returns the number of multi-codes used. |
|The spreading codes used size ( ) |
|The number of multi-codes. |
|The spreading factor. |
Multicode spreading of float symbols.
Obeserve that the spreading is normalized so that the energy per bit is preserved before and after spreading (that is each symbol is multiplied with
1/sqrt(N)). Hence, for the multicode case the energy is normalized for one symbol (code) but the transmitted signal consist of a sum of several signals.
Example: See Spread_1d