Nearly all figures in the book showing any kind of numerical result are computer generated, rather than artificially drawn, meaning that I (the author) had to develop Matlab scripts to produce all of the figures. Therefore, to make the methods and algorithms described in this book as useful and accessible as possible, a variety of the Matlab scripts are being made available.
The intent of the scripts is certainly not to be directly applicable to large multidimensional problems. Instead, the code is provided to give the reader some simple examples which actually work, which illustrate the concepts documented in the text, and which hopefully more rapidly lead the reader to be able to do implementations of his or her own.
Therefore I wish to make available much of the code which I developed. The code is provided "as is", with no guarantees of correctness:
- Hopefully the code is complementary to the textbook, allowing the reader to learn and understand certain concepts more clearly.
- The code is not interactive, and in many cases does not produce nicely-formatted multi-panel figures. It is code which produces the figures which you see in the textbook.
- You are free to take the code and edit/modify it. However if you use the code in a publication you should acknowledge it, and if you post the code you need to provide a link back to this page.
- There are subtle variations between different versions of Matlab, Octave etc., particularly with regards to plotting commands. All of the scripts on this page were tested to run under Matlab 7.9 on a dual-core Linux machine, but should require only minor tweaks to run acceptably under other versions.
- All of the scripts take a first argument 'printon', which determines whether to plot to file or to format for viewing on a computer screen. By default, the function plots to figures on the screen.
Because some of the scripts use other routines which I have written, it is simplest to download the complete set of scripts with support zip files, however all of the files can be downloaded individually below.
Click on any of the bold headings below to expand / collapse the individual descriptions and script links: