This repo has the exercies for the famous Machine Learning course, by Andrew Ng on Coursera. All are MY implementations, not the official answers. It runs on Octave, an open sourced, Matlab like platform. Check it out for your purpose.
Thanks, Jingtao