ketch/RK-opt — pull request #2 by ketch (2011-12-09 17:52:58+00:00)
Title: Add tests and make rk_opt.m a function

This pull request involves the following changes:

Add test suite, using the MATLAB xUnit framework, which can be obtained from
http://www.mathworks.com/matlabcentral/fileexchange/22846

Convert rk_opt.m to a function. This makes it easier to create automated tests and to design scripts to run several test cases in a row.

Remove global variables. Now they are passed as arguments to the appropriate functions.

Remove separate objective function files. The unified version is simpler.

Delete some old code in initial_guess.m that isn't used anymore.