I\'m using the Matlab function Y = WGN(M,N,P) to generate white noise with Gaussian distribution. This function uses a power value (dB Watts) to calculate the
Y = WGN(M,N,P)
You can use rand rather than Gaussian generator. The output range of rand is 0-1, so to make it in the range -1 1 you use rand(args)*2 -1.
rand
rand(args)*2 -1
It should be noted that this generator is sampling a uniform density.