from Correlation dimension by Peng Yuehua
Correlation dimension estimation code.

reseed.m
% restarts rand and randn generators with value stored in ranseed

rand('seed',rand_seed);
randn('seed',randn_seed);

Contact us at files@mathworks.com