This course introduces the general computing and programming skills which are necessary to perform numerical computations and simulations in materials science. This is achieved using the numerical computing environment Matlab and through the use of many practical examples and exercises.
Learning objective
On passing this course, the students should be able to develop their own programs for performing numerical computations and simulations, and they should be able to analyse and amend existing code.
Content
Introduction to Matlab; input/output; structured programming using loops and conditional execution; modular Programming using functions; flow diagrams; numerical accuracy; example: random walk model.