[scilab-Users] seeding grand

Samuel GOUGEON Samuel.Gougeon at univ-lemans.fr
Fri May 27 15:57:18 CEST 2011


  Hello Adrien,

> help grand says i should use
>
> rand("seed",getdate("s"))
>
> in order to avoid my random numbers to be equal accros each simulation
> but using the following code in a new scilab console returns each time 
> 0.4388861. Any idea what am i doing wrong ?
> rand("seed",getdate("s"))
> grand(1,1,"nor",0,1)
Did you try
grand("setsd",...)





More information about the users mailing list