Bug (kind-of) in randn() (Scripts) Publisher's description
This is a very strange bug in randn()
This is a very strange bug in randn(). After every seed-reset, the first call to randn() almost invarably produces a postive number. Most of the time this is a benign defect, but sometimes folks seek to make a random sequence of 1s and 0s using randn>0. If you tried to do this, and reset the seed between every call to randn, then you will get a long sequence of ones. Not random!
System Requirements:MATLAB 7.4 (R2007a)
Program Release Status: New Release
Program Install Support: Install and Uninstall