Forums

Adding Noise

Started by gouq...@gmail.com March 11, 2005
Hi,

Is there some quick ways or software tools to add  kind of noise, for
example gaussian noise etc to each tuple in a vector.

Thanks,

Richard

gouqizi.lvcha@gmail.com wrote:
> Hi, > > Is there some quick ways or software tools to add kind of noise, for > example gaussian noise etc to each tuple in a vector.
This depends a bit on the programming tools you use. There are random number generators available in most programming languages. In C there is a generator, rand(), that draws pseudonumbers from a uniform distribution. In matlab there is a gaussian generator, randn(), as well. Check out the documentation for your programming language. Looking for a function named "rand" is a good place to start. If you find a uniform generator, you can use the numbers it produces and convert them to other types of distributions. Rune