---Joey K Tuttle wrote: > There isn't a built in > function that j uses to generate normal distributions, and > writing an equivalent to MatLab randn() would be an > interesting exercise.
Do library functions count? load 'stats' normalrand 3 5 _0.740033 1.76012 0.71084 _0.523744 _1.10238 0.00433923 1.83453 _0.909053 0.014178 0.100423 _3.25953 1.07656 _1.1676 _0.317307 _0.401936 normalrand 3 : '(2 o. +: o. rand01 y) * %: - +: ^. rand01 y' rand01 [EMAIL PROTECTED] 0: ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
