Random Number (0-1) function

From LabVIEW Wiki
Jump to: navigation, search
Object information
Owning palette(s) Numeric palette
Type Function
Requires Basic Development Environment
Icon Functions - Numeric Palette - Random Number (0-1).png

The Random Number (0-1) function produces a double-precision, floating-point number between 0 and 1. The number generated is greater than or equal to 0, but less than 1. The distribution is uniform.

Alternatively, you can use several of the Signal Generation VIs or the Signal Generation PtByPt VIs to regenerate the same random sequence. For example, the Uniform White Noise VI allows you to set a seed number that you can use to initialize the generation of a pseudorandom pattern.

Usage

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links