Plotting this gaussian distribution.

1 次查看(过去 30 天)
I'm trying to make a list of velocities that come from a gaussian distribution, by the code below. However, I'm not being able to plot it to bring out the gaussian distribution. in the velocity vector, I have nDim=3 (number of dimensions) and number of columns=number of particles.
vels = zeros(nDim,nPart);
for part=1:nPart
vels(:,part) = randGauss(0,velSTD,nDim);
end

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by