comm.OSTBCEncoder
Encode input using orthogonal space-time block code
Description
The comm.OSTBCEncoder
System object™ encodes an input symbol sequence using orthogonal space-time block code (OSTBC).
This system object maps the input symbols block-wise and concatenates the output codeword
matrices in the time domain.
To encode an input symbol sequence using OSTBC:
Create the
comm.OSTBCEncoder
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Syntax
Description
creates an
OSTBC encoder System object, ostbcenc
= comm.OSTBCEncoderostbcenc
. This object maps the input symbols block-wise
and concatenates the output codeword matrices in the time domain.
creates an OSTBC encoder object with the NumTransmitAntennas
property set to ostbcenc
= comm.OSTBCEncoder(N
)N
.
creates an OSTBC encoder object using any of the previous syntaxes and sets properties using one or more name-value arguments. For example,
ostbcenc
= comm.OSTBCEncoder(___,Name
=Value
)SymbolRate=1/2
sets the symbol rate of the code to
1/2
.
Properties
Usage
Syntax
Description
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
Examples
Algorithms
The OSTBC encoder System object supports five different OSTBC encoding algorithms. Depending on the selection
for SymbolRate
and NumTransmitAntennas
, the System object implements one of the algorithms in this table:
Transmit Antenna | Rate | OSTBC Codeword Matrix |
---|---|---|
2 | 1 |
|
3 | 1/2 |
|
3 | 3/4 |
|
4 | 1/2 |
|
4 | 3/4 |
|
In each matrix, its (l, i) entry indicates the
symbol transmitted from the ith antenna in the
lth time slot of the block. Values for
i are in the range [1
, N], where
N is the number of transmit antennas. Values for l are
in the range [1
, L], where L is the
codeword block length.
When processing variable-size signals:
If the input signal is a column vector, the first dimension can change, but the second dimension must remain fixed at
1
.If the input signal is a matrix, both dimensions can change.
Extended Capabilities
Version History
Introduced in R2012a