vendredi 2 août 2019

How to generate random x and y coordinates using box muller transformation

I'm attempting to generate random x and y integer values within a certain range (roughly -10 to +10) using a box muller transformation.

I've logged a dataset and calculated my standard deviations for each axis as sdX = 4.413680773 and sdY = 4.361846901.

I've tried to read up about box muller transformations, however haven't been able to find much clear information that doesn't involve greek characters as I haven't done that kind of math in several years. If anybody could explain in simple english how i'd approach this, or even with python code examples that would be greatly appreciated.




Aucun commentaire:

Enregistrer un commentaire