Borrar filtros
Borrar filtros

Generating numbers according to a modified Gaussian

5 visualizaciones (últimos 30 días)
Niles Martinsen
Niles Martinsen el 22 de Nov. de 2012
Hi
I am trying to generate numbers following a probability-distribution given by the 1D Maxwell velocity distribution, which is explained here: http://en.wikipedia.org/wiki/Maxwell%E2%80%93Boltzmann_distribution#Distribution_for_the_velocity_vector. In the link I am referring to the distribution f(v)dv.
This is just a modified Gaussian distribution. Is there a smart way to accomplish this in MATLAB, perhaps using the built-in generator?
Thanks for any help in advance.
Best, Niles.

Respuestas (0)

Categorías

Más información sobre Random Number Generation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by