seeding grand
Adrien Vogt-Schilb
vogt at centre-cired.fr
Fri May 27 14:16:46 CEST 2011
Hi everyone
I am not able to "seed" grand
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)
AVS
(PS: sorry bugzilla.admin, i meant to send this mail to this list)
--
*Adrien Vogt-Schilb*
Research Fellow
vogt at centre-cired.fr <mailto:vogt at centre-cired.fr>
Tel: (+33) 1 43 94 73 96
Fax: (+33) 1 43 94 73 70
CIRED
45 bis, Av de la Belle Gabrielle
F-94736 Nogent-sur-Marne
http://www.centre-cired.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110527/c6e30a9b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logocired.png
Type: image/png
Size: 4092 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20110527/c6e30a9b/attachment.png>
More information about the users
mailing list