Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
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.
Citation pour cette source
David (2026). Uniform Spherical Distribution Generator (https://fr.mathworks.com/matlabcentral/fileexchange/67384-uniform-spherical-distribution-generator), MATLAB Central File Exchange. Extrait(e) le .
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Help Center et MATLAB Answers
Informations générales
- Version 1.1.0.0 (4,57 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.1.0.0 | Prettier picture, more tags, better description.
|
||
| 1.0.0.0 |
