Restore original ordering of block interleaved sequence with GPU
The BlockDeinterleaver
System object™ restores the original ordering of a sequence that was interleaved using
the block interleaver System object.
Note
To use this object, you must install a Parallel Computing Toolbox™ license and have access to an appropriate GPU. For more about GPUs, see GPU Computing (Parallel Computing Toolbox).
A GPU-based System object accepts typical MATLAB® arrays or objects created using the gpuArray
class. A GPU-based
System object supports input signals with double- or single-precision data types. The output
signal inherits its data type from the input signal.
If the input signal is a MATLAB array, the System object handles data transfer between the CPU and the GPU. The output signal is a MATLAB array.
If the input signal is a gpuArray
, the data remains on the GPU.
The output signal is a gpuArray
. When the object is given a
gpuArray
, calculations take place entirely on the GPU, and no
data transfer occurs. Passing gpuArray
arguments provides
increased performance by reducing simulation time. For more information, see Establish Arrays on a GPU (Parallel Computing Toolbox).
To deinterleave the input vector:
Define and set up your block deinterleaver object. See Construction.
Call step
to rearrange the elements of
the input vector according to the properties of comm.gpu.BlockDeinterleaver
. The behavior of step
is specific to each object in the
toolbox.
Note
Starting in R2016b, instead of using the step
method to perform the operation defined by the System object, you can call the object with arguments, as if it were a function. For
example, y = step(obj,x)
and y = obj(x)
perform equivalent operations.
H = comm.gpu.BlockDeinterleaver
creates a GPU-based block
deinterleaver System object, H
. This object restores the original ordering of a
sequence that was interleaved using the BlockInterleaver
System object
H = comm.gpu.BlockDeinterleaver(
creates a GPU-based block deinterleaver object, Name
,Value
)H
, with the
specified property name set to the specified value.
H = comm.gpu.BlockDeinterleaver(PERMVEC)
creates a GPU-based
block deinterleaver object, H
, with the
PermutationVector
property set to
PERMVEC
.
|
Permutation vector Specify the mapping used to permute the input symbols as a column vector
of integers. The default is |
step | Deinterleave input sequence |
Common to All System Objects | |
---|---|
release | Allow System object property value changes |
This object uses the same algorithm as the comm.BlockDeinterleaver
System object. See Algorithms on the comm.BlockDeinterleaver
help page for details.