comm.AWGNChannel
R2026b(Not recommended) Add white Gaussian noise to input signal
comm.AWGNChannel will be removed in a future release. Use awgn instead. (since R2026b)For more information on
updating your code see, Version History.
Description
comm.AWGNChannel adds white Gaussian noise to the input signal.
When applicable, if inputs to the object have a variable number of channels, the EbNo, EsNo, SNR, BitsPerSymbol, SignalPower, SamplesPerSymbol, and Variance properties must be scalars.
To add white Gaussian noise to an input signal:
Create the
comm.AWGNChannelobject 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 an additive
white Gaussian noise (AWGN) channel System object™, awgnchan = comm.AWGNChannelawgnchan. This object then adds white Gaussian noise to a
real or complex input signal.
creates a AWGN channel object, awgnchan = comm.AWGNChannel(PropertyName=Value)awgnchan, with the specified property
Name set to the specified Value.
Properties
Usage
Description
specifies the variance of the white Gaussian noise. This syntax applies when you set the
NoiseMethod to
outsignal = awgnchan(insignal,var)'Variance' and VarianceSource to 'Input
port'.
For example:
awgnchan = comm.AWGNChannel(NoiseMethod='Variance', ...
VarianceSource='Input port');
var = 12;
...
outsignal = awgnchan(insignal, 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
Algorithms
References
[1] Proakis, John G. Digital Communications. 4th ed. New York: McGraw Hill, 2001.