%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
		matlab files for ctrw

Uncompress the zip (or ancompress and untar tar.gz on Unix) file.

Put all the files in the same directory (to simplify).

 Part of the files is for fitting or plotting single curves (similar
 to grace). The main file for this is ctrw_singlefit.m.

 The second part is for fitting of multiple curves. The explanation
 is at the top of the ctrw_multifit.m file (one can type
 "help ctrw_multifit" in matlab to see it, or open it anywhere).
 In contrast to ctrw_singlefit.m, which
 is the main program that one can run, here ctrw_multifit is a
 function that should be called by some other program (or from the
 matlab command line). There are two such main programs that do it:

   data_input       generates some "data" and then calls ctrw_multifit
	            for fitting.

   read_grace_file  reads data from grace files (not provided)
   		    and then does the same.

 The maxtrials number is > 1 to allow for random search of initial guesses
 (so that the initial guess is relevant only for the first trial). This
 is the way I know to get out of local minima. Usually maxtrials=10 is
 sufficient, if the guess boundaries are not too wide (a few orders of
 magnitude in t_mean or R (for SCDs) is ok; the third parameter r (kappa)
 should be less then 1 by absolute value, and positive for beta>1. For
 beta the boundaries 0.1 and 2 are ok. )

Good luck!
