Ordinary AWGN Channel for cvec or vec inputs and outputs. More...
#include <itpp/comm/channel.h>
Public Member Functions | |
AWGN_Channel (double noisevar=0.0) | |
Class constructor. Sets the noise variance (for complex-valued channels the sum of real and imaginary parts) | |
void | set_noise (double noisevar) |
Set noise variance (for complex-valued channels the sum of real and imaginary parts) | |
double | get_noise () const |
Get noise variance (for complex-valued channels the sum of real and imaginary parts) | |
cvec | operator() (const cvec &input) |
Feed the complex input input through the complex-valued AWGN channel. | |
vec | operator() (const vec &input) |
Feed the input through the real-valued AWGN channel. | |
Ordinary AWGN Channel for cvec or vec inputs and outputs.
For real signals, the input parameter (noisevar) denotes the noise variance per real dimension. Therefore, it should be set to , where is the noise power spectral density. However, in case of complex signals, the input parameter (noisevar) represents the noise variance per complex dimension, i.e. the sum of the variances in the real and imaginary parts, and thus is equal to .
Example:
Generated on Sat Jul 6 2013 10:54:31 for IT++ by Doxygen 1.8.2