Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

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!
> 
> 
> 
> 


  • 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