<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hallo,<br>
to get a random number from an uniform distribution of e.g. 1, 5 and
9 I can use<br>
<font face="Courier New, Courier, monospace"><br>
</font>
<pre style="font-family:Arial;font-style:normal;font-size:18.0;"><font face="Courier New, Courier, monospace">x=grand(1,1, "uin", 1, 3);
if x==2;
x=5;
elseif x==3
x=9;
end
x</font><span style="color:rgb(160,32,240);">
<font color="#000000">I there a more straightforward way?
Regards
Jens</font>
</span></pre>
</body>
</html>