Hi, > It seems that your Matlab does not have the "randperm" function, which should > be part of the Matlab package. I guess you will have the same error message > if you just try randperm(3) > > What is your Matlab version? R2009a on OSX, with all packages. I see that the 2010b version is available now, so I will try to install that one tomorrow, and see if it helps. > Cheers and.. happy birthday ;-) Thanks, Alexander