Matlab codes from the book Introduction to Mechanics of Solids, Oxford University Press (2022) by Lallit Anand, Ken Kamrin, and Sanjay Govindjee; and Matlab codes from the companion problems book, Example Problems for Introduction to Mechanics of Solid Materials: Student Edition (2022) by Lallit Anand, Ken Kamrin, and Sanjay Govindjee