- #1

- 801

- 70

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Mathematica
- Thread starter madness
- Start date

- #1

- 801

- 70

- #2

- 422

- 1

Code:

```
w = RandomReal[NormalDistribution[0,1], 500];
ListLinePlot[w]
```

Is this what you're after?

- #3

- 801

- 70

- #4

- 422

- 1

The usual tactic one adopts to model a stochastic process containing a deterministic signal is to, well, model a stochastic process containing a deterministic signal. For instance, suppose that you have experimental data that looks like a sinusoidal signal blurred with white noise. You can model such a thing in Mathematica by defining the deterministic and stochastic parts of the signal separately and then adding them.

http://img697.imageshack.us/img697/3527/signals.png [Broken]

You can of course adapt this idea to whatever you're looking at simply by changing the number of steps in the stochastic process you're generating.

Code:

```
sample_length = 1000;
w = RandomReal[NormalDistribution[0, 1], sample_length];
s = Table[2*Cos[t/50] + 0.6 \[Pi], {t, 1, sample_length}];
ListLinePlot[w + s]
```

http://img697.imageshack.us/img697/3527/signals.png [Broken]

You can of course adapt this idea to whatever you're looking at simply by changing the number of steps in the stochastic process you're generating.

Last edited by a moderator:

- #5

- 801

- 70

Share: