Matlab Code from Numerical Analysis Class