Matlab

This is the landing page for those attending my Matlab workshop sessions. Others seeking Matlab enlightenment might possibly find some of this useful.

The sub-pages linked to here are a series of graded exercises and hints designed to support Matlab teaching for absolute beginners. If you are coming on an introductory Matlab course taught by me then we will be referring to the exercises during the session, so bookmark it!

These pages are not designed for self-study, although the diligent might find them useful for this purpose. They are simply a collection of code fragments in (roughly) increasing order of complexity that illustrate various questions that have arisen in teaching sessions.

Please feel free to use this material in any way you please - although a credit might be nice!

Matlab_01a ... Scalar arithmetic and introduction to built in functions 

Matlab_01b ... Introduction to Variables

Matlab_01c ... Sequences and loops

Matlab_02a ... Matrices

Matlab_02b ... Matrix manipulation

Matlab_03a ... More on variables

Matlab_03b ... Variables that are not numbers

Matlab_03c ... Variables that are both numbers and non-numbers

Matlab_03d ... Old style print formating

Matlab_04a ... Simple Graphs

Matlab_04b ... Graph exercises

Matlab_05a ... More graphs and some statistics

Matlab_05b ... The first real example of graph usage

Matlab_06 ... Scripts

Matlab_07 ... Saving figures (a diversion)

Matlab_08 ... Simple data visualisation

Matlab_09a ... Functions

Matlab_09b ... More on Functions

Matlab_10 ... Another Function

Matlab_11a ... More Realistic Data

Matlab_11b ... Simple Image Manipulation Example

Matlab_12 ... Sounds