I am trying to generate a sequence of random floating points.
The mean of this sequence should be around 0 and the standard deviation should be around 1.
This sequence should consist of negative and positive numbers.
I used rand() to generate random numbers and convert it to floating point by dividing it by 10000. Then I randomly assign them to be positive and negative. I do not have any idea of how to make these sequence of numbers to have a mean of 0 and standard deviation of 1. Does anyone knows how? Please help.