Generate pseudo Gaussian random numbers for pwm pins

Hi thanks for the reply? I thought the random() function generates values from a uniform distribution? The experiment needs a set of values chosen from a Gaussian distribution. No i dont want to go through in an increasing order. I would like to generate an array which is drawn from some gaussain distribution