MATLAB .m files used in Chapter 12