Generating random numbers for set distribution
807591Jun 13 2008 — edited Jun 13 2008Hey, I have been having a problem with a science project I am working on and was hoping someone might be able to help me. What I need is a set of random numbers that follow a power law distribution, similar to the gaussian distribution you get from the nextGaussian method for the random class, but obviously with a different shape. Is there a quick and dirty way to do this or can someone reccomend a full algorithm to follow?
Thanks
Chris