2D random walk confined in a circular domain with reflective boundaries
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.
Citar como
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. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Digital Filter Design > Adaptive Filters >
Etiquetas
Agradecimientos
Inspirado por: Draw a circle.
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 |