[Scilab-users] create random values between [-1,1]

Carrico, Paul paul.carrico at esterline.com
Fri Jun 10 15:21:42 CEST 2016


Hi

In order to simulate dimensional tolerances in +/-, I'm using the following workaround :
n = 100;
a = rand(n,1) - rand(n,1);

Of course I need to increase the N value to the domain ... is there a more "clever" way ?

Thanks

Paul

EXPORT CONTROL :
Cet email ne contient pas de données techniques
This email does not contain technical data

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20160610/62c11267/attachment.htm>


More information about the users mailing list