RE: Plot a sample path of a bornian motion
- To: mathgroup at smc.vnet.net
- Subject: [mg34967] RE: [mg34957] Plot a sample path of a bornian motion
- From: "David Park" <djmp at earthlink.net>
- Date: Sun, 16 Jun 2002 00:24:00 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
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! > > > >