File Exchange

image thumbnail

2d diffusion simulation, GUI

version (8.6 KB) by Maxim Vedenyov
points with random step each frame of time


Updated 07 Dec 2011

View License
The diffusion is simulated as set of points with random step each frame of time. Looks like brownian motion.
Step of point can be estimated from diffusion equation:
then approximately:
dt - time step
D - diffusion coefficient
dx - step of point

Cite As

Maxim Vedenyov (2021). 2d diffusion simulation, GUI (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Daniel Dickinson

Great program. I modified the code to allow showing the tracks of two particles:

Fabricio Pereira

Yilong Jia

Is there a guide for the code?

MATLAB Release Compatibility
Created with R2010a
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!