MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: Plot a sample path of a bornian motion


Kees,

randomwalk[n_] := NestList[# + 2 Random[Integer, {0, 1}] - 1 &, 0, n]

ListPlot[randomwalk[2000], PlotJoined -> True];

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/ 

> From: Kees [mailto:keesvanschaik at wanadoo.nl]
To: mathgroup at smc.vnet.net
> 
> 
> Hi,
> 
> I'm relatively new to Mathematica and am wondering how it's 
> possible to plot
> a sample path of a (one-dimensional) Brownian motion. Any ideas?
> 
> Thanks in advance!
> 
> 
> 
> 


  • Prev by Date: Re: Experimental`FileBrowse
  • Next by Date: Re: Meijer G Function
  • Previous by thread: Plot a sample path of a bornian motion
  • Next by thread: Re: Plot a sample path of a bornian motion