home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / sci / math / 17720 < prev    next >
Encoding:
Text File  |  1993-01-05  |  1.8 KB  |  43 lines

  1. Newsgroups: sci.math
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!cs.ucf.edu!news
  3. From: clarke@acme.ucf.edu (Thomas Clarke)
  4. Subject: Re: How to Add White Gaussian Noise to Variables?
  5. Message-ID: <1993Jan5.220753.18742@cs.ucf.edu>
  6. Sender: news@cs.ucf.edu (News system)
  7. Organization: University of Central Florida
  8. References: <1993Jan5.195505.22186@wuecl.wustl.edu>
  9. Date: Tue, 5 Jan 1993 22:07:53 GMT
  10. Lines: 31
  11.  
  12. In sci.math article <1993Jan5.195505.22186@wuecl.wustl.edu> you wrote:
  13. > Hi fellows!
  14. > Could anybody tell me how to add white gaussian noises to the process
  15. > measurements?
  16. > Any response is greatly appreciated!
  17. > Lots of thanks in advance!
  18. > My address: ma@wuche2.wustl.edu
  19. Don't have references at fingertips but if you mean to generate
  20. samples of Gaussian noise in software to add to your data there are
  21. standard methods to generate Gaussian or normally distributed random
  22. variables from the uniformly distributed random variables that
  23. computers usually supply. [try Abramowitz and Stegun, Special
  24. Functions for a possible reference source]
  25.  
  26. The generatl idea is to take two uniformly distributed random 
  27. samples, say A and B on [0,1] for definiteness.  Then turn one into
  28. an exponentially distributed variable, R=exp(-S/A), where S is
  29. standard deviation (my memory is rusty here, be sure to check 
  30. other sources), and another into a uniform [0,2pi]=2pi*B.  
  31. Then two Gaussian RVs are given by X=Rcos(B) and Y=Rsin(B).
  32. I don't recall the constant relating S and the standard deviation 
  33. of X and Y, but the constant is of order unity.
  34.  
  35. The trick is that the comples Gaussian RV (X+iY) goes into
  36. exponential and uniform [0,2pi] in polar notation.
  37. --
  38. Thomas Clarke
  39. Institute for Simulation and Training, University of Central FL
  40. 12424 Research Parkway, Suite 300, Orlando, FL 32826
  41. (407)658-5030, FAX: (407)658-5059, clarke@acme.ucf.edu
  42.