help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Generation of random number which needs to be passed to an array


From: Ganesh Kini
Subject: Generation of random number which needs to be passed to an array
Date: Mon, 15 Jun 2020 22:32:57 +0200

I have 2 variables named A and B

A  has the range from -0.2 to 2.2 
B has the range from  -3.2 to 0.2

I need all the possible to combinations of A and B in 0.1 steps

for example 

A                        B
0.1                  0.2
-0.1               -0.3 and so on 

How do I randomly generate this?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]