Directions for using MATLAB m files

The file from the web-site should be saved as a text file. To make things easy the file name should be the same as used on the web-site. So, for example, if the file is listed as euler.m then that is the name it should be saved as (the .m ending is important). The first line of each file will be consistent with this. So, for the file euler.m the first line is function euler (with no .m ending)

Step 1: Place the m-file in a directory that is in the path for MATLAB

Step 2: Type in name of file (without the .m ending) into MATLAB