From: Justus P. <Jus...@UL...> - 2004-11-08 09:55:32
|
Hi, randn() from octave-forge-2004.09.09 (CVS version 1.11) appears to be broken. The generated numbers are clearly not normally distributed: Numbers near zero (the most likely numbers) are extremely rare, and stretches of generated numbers appear to be sampled from different distributions that vary from some 10s to some 1000s of numbers in length. See for yourselves by issuing plot(1:10000, randn(1, 10000), "."); I have not tested later versions from CVS, but the CVS logs do not suggest that this has been fixed. For my purposes, I'm reverting back to the randn() from octave-2.1.57 whose output looks ok. Justus --=20 Justus H. Piater, Ph.D. http://www.montefiore.ulg.ac.be/~piater/ Institut Montefiore, B28 Phone: +32-4-366-2279 Universit=E9 de Li=E8ge, Belgium Fax: +32-4-366-2620 |