Brownian Motion or Random Particle Motion in a Fluid

version 1.0.0 (42.4 KB) by Roche de Guzman
Simulation of a single particle in a box

12 Downloads

Updated Sat, 09 Apr 2022 01:56:59 +0000

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 (2022). 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!