Watch this Author's files
chisq_min.m needs updated to remove the use of deprecated methods as the 9 Dec 2006 post suggest.
Current file contents
options.MaxIter = 500 * prod(size(x));
parout = fminsearch( 'gx', par, options );
There are other fields that could be filled in that are used by fminsearch (see link below), but this was sufficient to get working. The code seems to be doing exactly what I needed at this time.
Works great - in the chisq_min.m file you need to replace the reference to fmins() wiht fminsearch() for it to work with later Matlab releases.
Gaussiran.. is that your real last name..?
excellent code btw, very useful