comm.gpu.AWGNChannel
Add white Gaussian noise to input signal with GPU
To use this object, you must install Parallel Computing Toolbox™ and have access to a supported GPU. If the host computer has a GPU configured, processing uses the GPU. Otherwise, processing uses the CPU. For more information about GPUs, see GPU Computing (Parallel Computing Toolbox).
Description
The comm.gpu.AWGNChannel
System object™ adds white Gaussian noise to an input signal using a graphics processing unit
(GPU).
To add white Gaussian noise to an input signal:
Create the
comm.gpu.AWGNChannel
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
Description
creates a
GPU-based channel System object that adds white Gaussian noise to the input signal.gpuawgnchan
= comm.gpu.AWGNChannel
sets properties using one or more name-value arguments. For example,
gpuawgnchan
= comm.gpu.AWGNChannel(Name
=Value
)SamplesPerSymbol=4
specifies the samples per symbol value as
4.
Properties
Usage
Description
specifies the variance of the white Gaussian noise. This syntax applies when you set
y
= gpuawgnchan(x
,var
)NoiseMethod
to "Variance"
and VarianceSource
to "Input port"
.
For example:
gpuawgnchan = comm.AWGNChannel('NoiseMethod','Variance', ... 'VarianceSource','Input port'); var = 12; ... y = gpuawgnchan(x,var);
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
More About
Algorithms
References
[1] Proakis, John G. Digital Communications. 4th ed. New York: McGraw Hill, 2001.
Extended Capabilities
Version History
Introduced in R2012a
See Also
Objects
Functions
Topics
- GPU Arrays Support List for System Objects
- GPU Computing (Parallel Computing Toolbox)
- Accelerate Simulation Using GPUs