Written for beginners, this book provides an introduction to programming in MATLAB and simulation of physical systems. The book begins with scalar values and gradually works up to vectors and matrices. Topics covered include variables and values, scripts, loops, ordinary differential equations, vectors, and functions.MATLAB is used throughout the book to solve many end-of-chapter exercises.Most books that use MATLAB are aimed at readers who know how to program. This book is for people who have never programmed before. *** * Published under the terms of the GNU Free Documentation License. Money raised from the sale of this book supports the development of free software and documentation.
Allen Downey is a Professor Emeritus at Olin College and the author of a series of freetextbooks related to software and data science, including Think Python, Think Bayes, and Think Complexity, which are also published by O’Reilly Media. His blog, Probably Overthinking It, features articles on Bayesian probability and statistics. He holds a Ph.D. in computer science from U.C. Berkeley, and M.S. and B.S. degrees from MIT.