Rank: 78211 based on 0 downloads (last 30 days) and 0 file submitted
photo

Daniel

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Daniel View all
Updated File Comments Rating
16 Oct 2013 FindJObj - find java handles of Matlab graphic objects Find java objects contained within a specified java container or Matlab GUI handle Author: Yair Altman

17 Oct 2011 GetFullPath Full path name for partial or relative path Author: Jan Simon

I am not sure this works on Linux ...
GetFullPath('/home/test/../')
gives /ho/home/

10 Feb 2011 Shuffle Random permutation of array elements, C-Mex: much faster than RANDPERM Author: Jan Simon

I think there is a bug with the seeding. If I start up MATLAB fresh

a = Shuffle(1:100);
Shuffle([], 'seed');
b = Shuffle(1:100);
all(a == b)

does not yield true.

Looking at the c code on line 174 kc is set equal to 7654321. I think this is part of the default seed when Shuffle first launches. On line 1062 kc is set equal to 698769069, which is part of the seed when the seed is reset.

Contact us