Search code examples
.netmatlabsignal-processingoctavenoise

AWGN generator for .NET


I'm looking for an Additive White Gaussian Noise generator for .NET.

  1. I know that somewhere there is some degree of interoperability between .NET and MATLAB, which has a AWGN generator, but I don't know if its free EDIT and I just found it.

  2. Probably other applications as GNU Octave, which have similar functionalities to MATLAB, have .NET bindings. I didn't an extensive search on this matter.

  3. I would rather use a .NET library that has this function. From the ones I know:

  4. Math.NET Neodym doesn't seem to have it.

  5. AForge.NET has a Gaussian number generator, but I lack the understanding of AWGN to know if this generator could be used for this purpose. Any ideas?


Solution

  • AGWN is just a Gaussian (normally) distributed number added to each value of a numeric array. So all you need is a Gaussian random numerber generator (RNG).

    There is one in chapter 7 of Practical Numerical Methods in C# by Jack Xu.