The Drunkard's Walk
Versión 1.0.0.0 (1,52 KB) por
Bud Kelly
Plots the location a drunkard taking n random steps that begin at a lamp post.
The drunkard's walk is a commonly-used metaphor to explain the behavior of many natural events, the stock market, and more. This script plots a number (steps) of randomly-directed steps of a given length, to show that after a large number of steps the drunkard tends to remain in vicinity of the lamp post.
Citar como
Bud Kelly (2024). The Drunkard's Walk (https://www.mathworks.com/matlabcentral/fileexchange/66922-the-drunkard-s-walk), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2018a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions > Exploration and Visualization >
Más información sobre Exploration and Visualization en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |