Simulation of Random Walk

버전 1.1.0.0 (814 KB) 작성자: QiQin Zhan
Random walk model is made to explain the Brownian motion.
다운로드 수: 2.9K
업데이트 날짜: 2014/2/13

라이선스 보기

In this simulation, we assume that there's a group of drunkards walking from same area at the same time. Then we can make the following hypothesis. The walking speed is same and they cannot affect each other. The distance of a step they walk is distributed uniformly in a certain range. After some walks, it is obvious that there will be a distribution for the number of drunkards on the plain. What we do is to display the probability density function by simulation. It can be proved that the distribution is subject to the Weibull distribution.The function is,
f=6r*exp(-3*r^2/(na^2))/(na^2)
f —— describes the probability density of the drunkards at distance r
n —— describes the number of steps they have walked
a —— describes the range of a drunkard walked each time

We can see from the simulation that the theoretical function is quite similar with the experimental function, showing the correctness of this model. If you want to know the theoretical model of this simulation, contact the author by email.

인용 양식

QiQin Zhan (2024). Simulation of Random Walk (https://www.mathworks.com/matlabcentral/fileexchange/45536-simulation-of-random-walk), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2012b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Financial Toolbox에 대해 자세히 알아보기
도움

도움 받은 파일: Maximize window, export_fig

Community Treasure Hunt

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

Start Hunting!

Simulation_of_Random_Walk/

Simulation_of_Random_Walk/Maximize/

Simulation_of_Random_Walk/Simulation_of_Random_Walk/

Simulation_of_Random_Walk/Simulation_of_Random_Walk/Maximize/

Simulation_of_Random_Walk/Simulation_of_Random_Walk/export_fig/

Simulation_of_Random_Walk/export_fig/

Simulation_of_Random_Walk/Simulation_of_Random_Walk/html/

Simulation_of_Random_Walk/html/

버전 게시됨 릴리스 정보
1.1.0.0

html help file is updated

1.0.0.0