SignalProcessing
GenerateGaussian
generate samples of a Gaussian random signal
Calling Sequence
Parameters
Options
Description
Thread Safety
Examples
Compatibility
GenerateGaussian(n, mean, stddev)
n
-
posint, number of samples
mean
realcons, mean of the Gaussian distribution
stddev
realcons, standard deviation of the Gaussian distribution
container : Array, predefined Array for holding results
seed : nonnegint, seed for the pseudo-random number generator
The GenerateGaussian( n, mean, stddev, seed ) command generates n floating-point samples for a random signal with a Gaussian distribution of mean mean and with standard deviation stddev. The results are returned in an Array with datatype float[8].
If the container=C option is provided, then the results are put into C and C is returned. With this option, no additional memory is allocated to store the result. The container must be an Array of size n having datatype float[8].
If the seed option is provided, the given value is used as the seed for the pseudo-random number generator.
The SignalProcessing[GenerateGaussian] command is thread-safe as of Maple 17.
For more information on thread safety, see index/threadsafe.
The SignalProcessing[GenerateGaussian] command was introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
See Also
GenerateUniform
Download Help Document