Brownian Motion or Random Particle Motion in a Fluid

Simulation of a single particle in a box

You are now following this Submission

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 (2026). Brownian Motion or Random Particle Motion in a Fluid (https://uk.mathworks.com/matlabcentral/fileexchange/109690-brownian-motion-or-random-particle-motion-in-a-fluid), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0