Brownian Motion or Random Particle Motion in a Fluid

Simulation of a single particle in a box
36 Downloads
Updated 9 Apr 2022

View License

Simulate random particle motion with varying:
Container Box
L = 10; W = 5; % rectangular container length and width
Particle
x = 0; y = 0; % starting position coordinates
l = 0.1; % movement length
d = 7; % counting numbers, where degrees of freedom = 4*d
N = 5e4; % number of movement steps

Cite As

Roche de Guzman (2024). Brownian Motion or Random Particle Motion in a Fluid (https://www.mathworks.com/matlabcentral/fileexchange/109690-brownian-motion-or-random-particle-motion-in-a-fluid), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0