Uniform Spherical Distribution Generator

버전 1.1.0.0 (4.57 KB) 작성자: David
Generate uniformly random points within a sphere of dimension N
다운로드 수: 187
업데이트 날짜: 2018/5/21

라이선스 보기

This function generates uniformly random points within a sphere of dimension N. It does this efficiently by inverting cumulative distribution functions, not by generating a uniform rectangular distribution and filtering away. This is particularly important for high dimensional spheres. In 6D for example, only one in twelve points generated in a 6D rectangle lies within the inner 6D sphere.
An example use-case of this function would be to initialize the positions and velocities of an ensemble of particles in three dimensions. In many physics simulations, it is common to perform such initializations independently for each dimension, which wastes processing power on uninteresting regions of phase-space near the corners of the 6D hypercube.

인용 양식

David (2024). Uniform Spherical Distribution Generator (https://www.mathworks.com/matlabcentral/fileexchange/67384-uniform-spherical-distribution-generator), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Prettier picture, more tags, better description.
Spelling Errors.
More appropriate title.

1.0.0.0