Brownian Motion MATLAB Code: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

23 June 2024

  • curprev 01:0001:00, 23 June 2024Bradley Monk talk contribs 6,079 bytes −33 No edit summary
  • curprev 00:5900:59, 23 June 2024Bradley Monk talk contribs 6,112 bytes +6,112 Created page with "==Brownian Motion MATLAB Code== <syntaxhighlight lang="matlab" line start="1"> function [tracks] = BrownianMotion() % STARTING PARAMETERS %----------------------------------------------------------- D = .3; % Diffusion Rate Ds = .1; % Diffusion Scalar (Ds = Dn) Dn = D/(D/Ds); % new D after scaling L d = 2; % dimensions dT = 1; % time step k = sqrt(d*D); % stdev of..."