The Drunkard's Walk

版本 1.0.0.0 (1.5 KB) 作者: Bud Kelly
Plots the location a drunkard taking n random steps that begin at a lamp post.
76.0 次下载
更新时间 2018/4/14

查看许可证

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.

引用格式

Bud Kelly (2024). The Drunkard's Walk (https://www.mathworks.com/matlabcentral/fileexchange/66922-the-drunkard-s-walk), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2018a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Exploration and Visualization 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0