Online Appendix C MATLAB Programs This appendix contains a selection of basic MATLAB m-file programs used in this text to produce figures and are listed here as sample…