**brownian_motion_simulation_test**,
a MATLAB code which
calls brownian_motion_simulation() to simulate Brownian motion in an M-dimensional region.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

BROWNIAN_MOTION_SIMULATION, a MATLAB code which simulates Brownian motion in an M-dimensional region.

- brownian_motion_simulation_test.m, calls all the tests.
- brownian_motion_simulation_test.sh, runs all the tests.
- brownian_motion_simulation_test.txt, the output file.

- motion_1d.png, a plot of a Brownian motion trajectory in 1D, with time as second dimension.
- motion_2d.png, a plot of a Brownian motion trajectory in 2D.
- motion_3d.png, a plot of a Brownian motion trajectory in 3D.
- displacement_1d.png, a plot of squared displacements, averaged over several 1D Brownian motions.
- displacement_2d.png, a plot of squared displacements, averaged over several 2D Brownian motions.
- displacement_3d.png, a plot of squared displacements, averaged over several 3D Brownian motions.