generate samples of a uniformly distributes pseudo-random signal
GenerateUniform(n, low, high)
posint, number of samples
realcons, lower bound of the uniform distribution range
realcons, upper bound of the uniform distribution range
container : Array, predefined Array for holding results
seed : nonnegint, seed for the pseudo-random number generator
The GenerateUniform(n, low, high) command generates n floating-point samples of a uniformly distributed pseudo-random signal with values between the values of low and high. The results are returned in an Array with datatype float.
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.
If the seed option is provided, the given value is used as the seed for the pseudo-random number generator. Otherwise, a random nonnegative integer is used as the seed.
The SignalProcessing[GenerateUniform] command is thread-safe as of Maple 17.
For more information on thread safety, see index/threadsafe.
c ≔ Array⁡1..10,'datatype'='float'8,'order'='C_order':
The SignalProcessing[GenerateUniform] command was introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.