[scilab-Users] seeding grand
Adrien Vogt-Schilb
vogt at centre-cired.fr
Fri May 27 16:02:15 CEST 2011
thank you, it works
reported the bad advice in the doc page :
http://bugzilla.scilab.org/show_bug.cgi?id=9553
Le 27/05/2011 15:57, Samuel GOUGEON a écrit :
> 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",...)
>
--
*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/7dd901d2/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/7dd901d2/attachment.png>
More information about the users
mailing list