2D random walk confined in a circular domain with reflective boundaries

版本 1.0.0.0 (2.1 KB) 作者: Sanaz Sadegh
2D random walk confined in a circular domain with reflective boundaries
298.0 次下载
更新时间 2016/12/11

查看许可证

Generates a random walk (RW) with m steps. The x and y components of each step are drawn from a normal distribution with standard deviation sigma. The RW is confined to a circle of diameter d with reflecting boundary conditions. X0 and Y0 are the initial coordinates of the random walk inside the circle. Output is a vector of positions of the particle.

引用格式

Sanaz Sadegh (2024). 2D random walk confined in a circular domain with reflective boundaries (https://www.mathworks.com/matlabcentral/fileexchange/60673-2d-random-walk-confined-in-a-circular-domain-with-reflective-boundaries), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签
致谢

参考作品: Draw a circle.

Community Treasure Hunt

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

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