LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Random number Generation

Solved!
Go to solution

Hi,

 

What will be the best way to generate random numbers from -1 to +1.

0 Kudos
Message 1 of 5
(3,457 Views)
Solution
Accepted by topic author ade77
Message 2 of 5
(3,456 Views)
Thanks Pnt
0 Kudos
Message 3 of 5
(3,444 Views)

The above code will give you one such number.

 

Since you want numbers(plural), use "uniform white noise" with an amplitdude of 1 and you'll get an entire array full of any desired lenght. 😄

 

 

(not available in LabVIEW base)

Message Edited by altenbach on 11-04-2008 11:45 AM
Message 4 of 5
(3,433 Views)
Thanks Altenbach, This is actually a more general solution, applicable more to my situation
0 Kudos
Message 5 of 5
(3,422 Views)