MATLAB .m files used in Chapter 7