These web pages provide a reference source to complement the CAPE lectures - "An Introduction to Numeric Computer Programming using MATLAB". Links are provided for each of the major headings and for relevant exercises. You should do the exercises before attempting the course work.
Try the first exercise listed below.
An introduction to MATLAB programming
Try the second exercise listed below.
Multidimensional data structures
Try the exercise for arrays, as listed below.
Try the flow-sheeting exercise which requires the use of procedures.
Try the exercise on Program loops listed below. Also give the exercise on a Taylor series approximation to the Sine function a try.
For those of you that may have a computer at home or elsewhere, there is a system, known as Octave, written by John W. Eaton (Department of Chemical Engineering, University of Wisconsin) and others, which is similar to Matlab. For the material covered in this course, Octave is a perfect replacement for Matlab.
The following are a set of exercises which you should attempt, in order, to gain experience with the different aspects of Matlab. If you are able to do all these exercises, the hand-in project should pose little difficulty!