MathGroup Archive 2007

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

Search the Archive

Re: Applying Additive Gaussian Noise with standard deviation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82259] Re: Applying Additive Gaussian Noise with standard deviation
  • From: Bill Rowe <readnewsciv at sbcglobal.net>
  • Date: Tue, 16 Oct 2007 03:32:49 -0400 (EDT)

On 10/15/07 at 1:24 AM, Tara.Ann.Lorenz at gmail.com wrote:

>I am modeling action potentials in Mathematica and need to vary both
>the mean current and noise amplitude (using additive Gaussian noise
>with standard deviation).  Any suggestions on how to implement these
>commands in Mathematica?

If you are using version 6, you can generate a single normal
deviate using

RandomReal[NormalDistribution[0, 1]]

or an array of n normal deviates using

RandomReal[NormalDistribution[0, 1], n]

In these examples, I've assumed a zero mean and unity standard
deviation. Look up NormalDistribution and RandomReal for more details.

If you are using an earlier version of Mathematica, first do:

<<Statistics`

then

Random[NormalDistribution[0, 1]]

will generate a single normal deviate

and

Table[Random[NormalDistribution[0, 1]],{n}]

will create an array of n normal deviates
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: Recursion limit: a good idea to ignore?
  • Next by Date: Re: Recursion limit: a good idea to ignore?
  • Previous by thread: Re: Applying Additive Gaussian Noise with standard deviation
  • Next by thread: Run notebook so graphs are displayed and not their code