A fourth MATLAB tutorial is available at
This tutorial deals with the following control structures:
- the “if-statement”,
- the under-appreciated “switch statement”,
- the “for loop”, and
- the “while loop”.
These statements are undoubtedly the workhorses of the programming world.
A solid knowledge of these programming structures, as well as their usages and purposes, are the building-blocks of modern numerical analysis.