You can download the MATLAB m-files associated with the text Engineering Statics with MATLAB with the download button here.