Dear all,
I'd like to generate equivalent sequences of 'random' numbers in matlab and
numpy, is there any way I can do that? I tried to fix the seed (see below)
but it doesn't work.
# numpy
In [29]: np.random.seed(1); np.random.permutation(5)+1
Out[29]: array([3, 2, 5, 1, 4])
% matlab
On 2/23/2009 1:11 PM, Nicolas Pinto wrote:
Dear all,
I'd like to generate equivalent sequences of 'random' numbers in matlab
and numpy, is there any way I can do that? ...
Asked and answered on scipy-user.
S.M.
___
Numpy-discussion mailing