Post Reply 
Can we use magic squares as random number generators?
01-07-2020, 01:07 PM
Post: #4
RE: Can we use magic squares as random number generators?
(01-06-2020 03:24 PM)lrdheat Wrote:  Made me think back to when I wanted to generate a series of random numbers back in 1977 with my HP-67 (have no idea how I was separated away from that beautifully done device). In radian mode, I took the sine of a seed number (incremented up by 1 for each new random number), and did away with the first 6 digits with my program. Seemed fine for my needs (was simulating baseball games for a simulated season!)

Discarding the first few digits after the decimal seems to work fine in general, because the digits that remain are more or less noise! I was able to develop a Matlab random number generator (luck had something to do with it). But once I ported it to Excel VBA the random generator did not give very good results. My conclusion is that the software's basic math oprations and functions have something to do with it.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Can we use magic squares as random number generators? - Namir - 01-07-2020 01:07 PM



User(s) browsing this thread: 1 Guest(s)