Random Walk Explorer
Version 1.0.0 (1,87 Mo) par
Duncan Carlsmith
Simulates partly random walks in one dimension, each walk a sequence of steps with step length governed by a probability distribution.
This Live Script repeatedly simulates the outcome of partly random walks in one dimension, each walk a sequence of steps with a random element, the variation in step length governed by a choice of probability distribution. One can observe the standard deviation from the mean of the distribution of net walk length increase over time and observe that distribution shape evolve towards a normal distribution no matter what the step length probability distribution might be, in accordance with the central limit theorem.
This script is intended for students learning concepts of probability. 'Try this" suggestions are included for further exploration.
Citation pour cette source
Duncan Carlsmith (2024). Random Walk Explorer (https://www.mathworks.com/matlabcentral/fileexchange/165971-random-walk-explorer), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2024a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Random Walk Explorer folder
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0 |