General Information

me I am a postgraduate student at the University of Edinburgh, studying for a PhD in applied mathematics.
Before coming to Edinburgh, I took my BSc. in Theoretical Physics at the University of Newcastle-upon-Tyne, and subsequently an MSc. in Communications and Signal Processing. My current studies in geophysical fluid dynamics are being supervised by Professor Jacques Vanneste.

Visit the research page to find out about my study interests.

Personal Interests

Outside of mathematics, I am the secretary of Edinburgh University Gliding Club, who fly regularly at the Scottish Gliding Centre. I also enjoy music, and conduct the Edinburgh University Musical Medics Orchestra.

An Introduction to MATLAB

You can find the course materials from a short course I have constructed and delivered, introducing MATLAB to MSc students here. On this page you will also find the MATLAB tutorial introduction that I am currently in the process of finishing.

Other useful stuff

Animations in beamer

The animate package is a very useful LaTeX package that allows animations to be embedded in a pdf presentation. Instructions for doing so are as follows:

  1. create a series of figures using your favourite graphics editor. Each of these images will form a frame of your animation. Save each one as a pdf with a base name followed by its frame number, e.g. frame7.pdf
  2. Use the animate package by adding the following line to your preamble.

    \usepackage{animate}

  3. Add the following code at the point in the frame in which your animation is to appear.

    \begin{figure}[h]
    \centering
    \animategraphics[options]{<framerate>}{<base file name>}{<first>}{<last>}
    \caption{A movie caption.}
    \label{mymovie}
    \end{figure}

    The first and last arguments are numbers that specify the numbers of the first and last frames. The animate package automatically collates the files with the corresponding names and animates them. For example, suppose we have a series of figures called contour1, contour2,...,contour30. These could be animated and displayed at 12fps using the following command:

    \animategraphics[widths=2.5in]{12}{contour}{1}{30}

  4. Compile your source file as normal (e.g. using pdflatex).

Here are two example files showing the package in action:

Image Processing tutorial

These MATLAB code examples accompany my talk on image compression. Some input images and functions are required to make the programs run successfully; these are also available here.

Programs

filtering.m
block.m
colour.m
quantise.m

Functions

These are required if you don't have the MatLab image processing toolbox installed.
dct.m
idct.m
dct2.m
dct2.m

Input Images

balamory
durham
puzzles
wells