Octave is a free software version of Matlab.
Octave binaries can be got from here | ftp://ftp.che.wisc.edu/pub/octave/BINARIES/2.0.5/ | | ftp://ftp.che.wisc.edu/pub/octave/BINARIES/ |
Mac users, see OSX page.
I wrote all my demos with octave2.0, and I believe they should all work with any version of 2.0.
As of Mon 14/6/04, many people have started using octave2.1. Unfortunately, 2.1 is not reverse-compatible with 2.0 and it is impossible to modify my code so that it all works under both. Most of my demonstrations will work under 2.1 if the file mymenu.m is replaced by mymenu.m. (In case this link does not work, the required diffs are
diff mymenu.m ../mcmc/mymenu.m
26c26
< function num = mymenu (t, varargin)
---
> function num = mymenu (t, ...)
53c53
< # va_start ();
---
> va_start ();
56c56
< disp (varargin{i});
---
> disp (va_arg ());
.) With this fix, I believe kmeans and kmeansoft will
work. Some parts of mcmc will work, but not all (multiplot has been
broken in 2.1).
In sum, I recommend installing octave2.0.
Further version-number problems may arise in some demonstrations (especially where contour plots are involved). If you are using a recent version of gnuplot (eg 3.8+) then because of a change in how gnuplot handles simultaneous plotting of data points and contour plots, you may find that one or the other is invisible. I have not found a fix for this annoying situation. The problem is independent of the octave version. Downgrading gnuplot to gnuplot 3.7 patchlevel 1 should fix things.
module add octave ulimit -t 60000is used, /opt/octave/bin is added to the user's PATH, and /opt/octave/man to the MANPATH.) The ulimit command ensures that the process can run for hours if need be.
Janet Wilkins Email: J.M.Wilkins@ucs.cam.ac.uk Computing Service