This is a modified version of an earlier program by Maxim Vedenyov (https://www.mathworks.com/matlabcentral/fileexchange/34103-2d-diffusion-simulation--gui). The code has been modified to optionally show the tracks of two particles whose motion is being simulated.
Daniel Dickinson (2020). 2d diffusion simulator with particle track option (https://www.mathworks.com/matlabcentral/fileexchange/67581-2d-diffusion-simulator-with-particle-track-option), MATLAB Central File Exchange. Retrieved .
Inspired by: 2d diffusion simulation, GUI