Group Abstract Group Abstract

Message Boards Message Boards

0
|
7.7K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Simulate a Wiener process with RandomFunction in Mathematica 8?

Posted 9 years ago

I wanted to simulate a Wiener process in Mathematica 8. I used the code provided here: https://reference.wolfram.com/language/ref/RandomFunction.html However, it didn't work. I got the error message:

ListLinePlot::lpn: "RandomFunction[WienerProcess[],{0,10,0.1}] is not a list of numbers or pairs of numbers.

I've attached a screenshot of the same,

How do I resolved this issue?

Attachments:
POSTED BY: Navya Gupta
2 Replies

At the end of the documentation page it says:

Introduced in 2012 (9.0)

Note that all built-in function should show up as Black in the notebook. You can clearly see that RandomFunction and WienerProcess are blue in your screenshot, meaning that they are 'unknown' to the system.

POSTED BY: Sander Huisman

Try this:

tData = RandomFunction[WienerProcess[], {0, 10, 0.1}];
ListLinePlot[tData, Filling -> Axis, AxesOrigin -> {0, 0}]

enter image description here

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard