comm.gpu.BlockDeinterleaver
Restore original ordering of block interleaved sequence with GPU
Description
The comm.gpu.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 agpuArray
. When the object is given agpuArray
, calculations take place entirely on the GPU, and no data transfer occurs. PassinggpuArray
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 ofcomm.gpu.BlockDeinterleaver
. The behavior ofstep
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.
Construction
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
.
Properties
|
Permutation vector Specify the mapping used to permute the input symbols as a column vector
of integers. The default is |
Methods
step | Deinterleave input sequence |
Common to All System Objects | |
---|---|
release | Allow System object property value changes |
Algorithm
This object implements the algorithm, inputs, and outputs described on the General Block Deinterleaver block reference page. The object properties correspond to the block parameters.