|Subject:||Re: Random number within a fixed range|
|Date:||Thu, 02 Nov 2006 15:07:33 +0100|
|User-agent:||Thunderbird 188.8.131.52 (Windows/20060909)|
Riccardo Corradini wrote:
Hi all,I would like to generate a random number within a range ( for example -1 and 1).How I could do it in octave ? Thanks a lot Riccardo
What is wrong with 2*rand() - 1 D.
|[Prev in Thread]||Current Thread||[Next in Thread]|