I look for develop by my own a cloud of points with a density which is a Gaussian.
I find a first solution, but I would like to make it by my own.
X = [mvnrnd([x_centroid,y_centroid],[diameter 0; 0 diameter],number_points)]
Have you an idea ?
I look for develop by my own a cloud of points with a density which is a Gaussian.
I find a first solution, but I would like to make it by my own.
X = [mvnrnd([x_centroid,y_centroid],[diameter 0; 0 diameter],number_points)]
Have you an idea ?
You can get gaussian random values from:
x = meanval + sigma*randn(N, 1);
If you get several vectors like x, it would be a gaussian cloud.
Or you can convert it from even distribution: Converting a Uniform Distribution to a Normal Distribution