Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Enhancing Excel's Random Number Generator!

Hi everyone:

I found this information on how to enhance Excel's RNG:

http://support.microsoft.com/default...Ben-us%3B86523

How can I take advantage of this to enhance my excel RNG?

Thanks,
Mike

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Enhancing Excel's Random Number Generator!

Mike -

Maybe the simplest way to "enhance" Excel's random number generator is to
use Excel 2003:

http://support.microsoft.com/default...b;en-us;828795

- Mike

www.mikemiddleton.com


"Mike" wrote in message
oups.com...
Hi everyone:

I found this information on how to enhance Excel's RNG:

http://support.microsoft.com/default...Ben-us%3B86523

How can I take advantage of this to enhance my excel RNG?

Thanks,
Mike



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Enhancing Excel's Random Number Generator!

I talks about an Excel INI file. I don't find one for Excel 2002.

However, they also say at the bottom that the default was changed from 0 to 1
in Excel 5. They probably didn't change it back. To check that, I started
Excel and typed the formula =RAND() in a cell and noted the result. Then I
closed Excel, reopened it, and repeated this. The 2nd number was NOT the same.
So it has probably already been "enhanced".

On 8 Mar 2005 13:55:48 -0800, "Mike" wrote:

Hi everyone:

I found this information on how to enhance Excel's RNG:

http://support.microsoft.com/default...Ben-us%3B86523

How can I take advantage of this to enhance my excel RNG?

Thanks,
Mike


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Enhancing Excel's Random Number Generator!

PS: I don't find any registry setting that looks relevant.

On 8 Mar 2005 13:55:48 -0800, "Mike" wrote:

Hi everyone:

I found this information on how to enhance Excel's RNG:

http://support.microsoft.com/default...Ben-us%3B86523

How can I take advantage of this to enhance my excel RNG?

Thanks,
Mike


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 837
Default Enhancing Excel's Random Number Generator!

And if that is not good enough, you might look at the Mersenne Twister

http://www.math.sci.hiroshima-u.ac.j...at/MT/emt.html
http://www.math.sci.hiroshima-u.ac.j...S/FORTRAN/fort...
http://www-personal.engin.umich.edu/...neTwister.html

which is implemented in the freeware NtRand

http://www.numtech.com/NtRand/


Also note that the improved algorithm in 2003 only applies to the
worksheet function RAND(), not to the VBA or ATP random number generators.

http://groups.google.com/groups?selm...9.36e9afd8%40p...

implements the 2003 algorithm in VBA.

Jerry

Michael R Middleton wrote:

Mike -

Maybe the simplest way to "enhance" Excel's random number generator is to
use Excel 2003:

http://support.microsoft.com/default...b;en-us;828795

- Mike

www.mikemiddleton.com


"Mike" wrote in message
oups.com...

Hi everyone:

I found this information on how to enhance Excel's RNG:

http://support.microsoft.com/default...Ben-us%3B86523

How can I take advantage of this to enhance my excel RNG?

Thanks,
Mike





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
random number generator johnny vino Excel Discussion (Misc queries) 8 April 25th 07 05:51 PM
random number generator Barb Excel Discussion (Misc queries) 2 September 22nd 06 11:12 PM
Random Number Generator STEVEB Excel Worksheet Functions 7 July 25th 05 11:41 PM
Random number generator Philippe L. Balmanno Excel Worksheet Functions 4 December 17th 04 07:42 AM
Random Number Generator Sophia[_2_] Excel Programming 8 May 19th 04 02:11 PM


All times are GMT +1. The time now is 01:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"