Description: This function generates an Additive White Gaussian Noise (AWGN) sample at every call. Its beauty lies in its simplicity! The generated sample set will have zero mean and a standard deviation of 1. Therefore, one can simply scale the output samples by a different standard deviation to generate different noise profiles. To do this scaling, simply multiply the sample with the standard deviation of your choice.
This is a very versatile function that can be used in communication system simulations and random number generation in various applications. I have used it in the past while working with channel encoder and decoder simulators.
To Search:
File list (Check if you may need any files):
gaussian-white noise.cpp