Sampling of a gaussian distribution

matteo86bo
Messages
56
Reaction score
0
I have a 3d data cube. For every point I measure the property A which is a gaussian variable of mean m and variance s and it's also a function of the density d at every point.
<br /> <br /> A(x,y,z)=f(d(x,y,z))e^(-(X-m)^2/(2\sigma^2))<br /> <br />

X is a random number.

Now let's say I want to sample the distribution. I mean, I divide my 3d cube in boxes of size delta X.

What happen to the function f?
 
Physics news on Phys.org
I'll assume the points are chosen from a Gaussian. If this is a Monte Carlo simulation, then to get an estimate for A, evaluate f.
 
Back
Top