Unix Support

Mathematica - Linear Algebra etc.

This course is in two parts, which vary very considerably in difficulty.

The first part covers Mathematica's basic matrix facilities, plus linear algebra etc. using real and complex matrices. This is fairly straightforward, and describes how to use Mathematica in the way that other people use Matlab.

The slides for the basic course:

Presentation

The example input, suitable for cut-and-paste:

Example input

Input files used in examples:

Matlab input

CSV input

The second part covers linear algebra with symbolic matrices, and its debugging and tuning. It shows how to get first- and second-order approximations to problems, with the variations in the input being in the form of unknown variables. This enables what is often called perturbation analysis or sensitivity analysis.

People who want to do comparable work with other numerical methods (such as PDEs, ODEs or optimisation) will also find it relevant, as the techniques the course covers apply to those as well.

This sort of work is never easy, though it is much easier in Mathematica than by hand, and attendees should be reasonably familiar with using Mathematica.

The slides for the advanced course:

Presentation

The example input, suitable for cut-and-paste:

Example input

A directory containing realistic, working code:

Worked examples

The title of this document is: Mathematica - Linear Algebra etc.
URL: http://www-uxsup.csx.cam.ac.uk/courses/moved.Mathematica_numerics/index.html