Markuman
Joined 10 February 2014
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== random == | |||
how to get equal matlab random numbers in octave - using twister(!) algorithm? | how to get equal matlab random numbers in octave - using twister(!) algorithm? | ||
Line 13: | Line 6: | ||
* nice2know: http://stackoverflow.com/questions/13735096/python-vs-octave-random-generator | * nice2know: http://stackoverflow.com/questions/13735096/python-vs-octave-random-generator | ||
=== initial situation === | |||
* ruby and python using twister algo as default | * ruby and python using twister algo as default | ||
Line 55: | Line 48: | ||
=== how to get the right seed states in octave? === | |||
rand('twister',0) | rand('twister',0) | ||
Line 107: | Line 100: | ||
0.602763376071644 | 0.602763376071644 | ||
=== TODO === | |||
* | * Find the `seed` stuff in octave source |