필터 지우기
필터 지우기

Generating numbers according to a modified Gaussian

조회 수: 4 (최근 30일)
Niles Martinsen
Niles Martinsen 2012년 11월 22일
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.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Random Number Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by