AWGN generator for .NET
-
23-08-2019 - |
Question
I'm looking for an Additive White Gaussian Noise generator for .NET.
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.
Probably other applications as GNU Octave, which have similar functionalities to MATLAB, have .NET bindings. I didn't an extensive search on this matter.
I would rather use a .NET library that has this function. From the ones I know:
Math.NET Neodym doesn't seem to have it.
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.
OTHER TIPS
I know you already found it, but I figured I'd post the link here to help complete the Q&A paradigm.
MATLAB can deploy .NET or COM components using MATLAB Builder NE and MATLAB Compiler. It's a bit pricey, but can often save a lot of time when you can prototype and develop your numerical algorithms in MATLAB and avoid recoding in a faster language.