We have looked at a few examples provided for the 1B Numerical Analysis course. The source matlab examples are available.