<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#330000">
thank you, it works<br>
<br>
reported the bad advice in the doc page :
<a class="moz-txt-link-freetext" href="http://bugzilla.scilab.org/show_bug.cgi?id=9553">http://bugzilla.scilab.org/show_bug.cgi?id=9553</a><br>
<br>
<br>
Le 27/05/2011 15:57, Samuel GOUGEON a écrit :
<blockquote cite="mid:4DDFADBE.1000806@univ-lemans.fr" type="cite"> Hello
Adrien,
<br>
<br>
<blockquote type="cite">help grand says i should use
<br>
<br>
rand("seed",getdate("s"))
<br>
<br>
in order to avoid my random numbers to be equal accros each
simulation
<br>
but using the following code in a new scilab console returns
each time 0.4388861. Any idea what am i doing wrong ?
<br>
rand("seed",getdate("s"))
<br>
grand(1,1,"nor",0,1)
<br>
</blockquote>
Did you try
<br>
grand("setsd",...)
<br>
<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<style>
<!--
p
{margin:0pt;
color:teal;
font-family:"Cambria Math"
font-size:12.0pt;
}
-->
</style>
<p><b>Adrien Vogt-Schilb</b></p>
<p>Research Fellow</p>
<p><a a="" href="mailto:vogt@centre-cired.fr"
style="text-decoration: none; color: teal;">vogt@centre-cired.fr</a></p>
<p>Tel: (+33) 1 43 94 73 96</p>
<p>Fax: (+33) 1 43 94 73 70</p>
<table style="border: medium none; margin-left: 1pt; margin-top:
4pt;" cellspacing="0">
<tbody>
<tr>
<td style="padding: 0pt;">
<p><img src="cid:part1.03060109.09050404@centre-cired.fr"
alt="CIRED" width="54"></p>
</td>
<td style="padding: 0pt 7pt;" valign="middle">
<p style="font-size: 10pt;">45 bis, Av de la Belle
Gabrielle</p>
<p style="font-size: 10pt;">F-94736 Nogent-sur-Marne</p>
<p style="font-size: 10pt;"><a
href="http://www.centre-cired.fr/" style="color:
teal;">http://www.centre-cired.fr/</a></p>
</td>
</tr>
</tbody>
</table>
<p> </p>
</div>
</body>
</html>