Numerical Computing with MATLAB is a textbook for an introductory course in numerical methods, Matlab, and technical computing. The emphasis is on informed use of mathematical software. We want you to learn enough about the mathematical functions in MATLAB that you will be able to use them correctly, appreciate their limitations, and modify them when necessary to suit your own needs. The topics include:
- introduction to MATLAB
- linear equations
- zero finding
- least squares
- ordinary differential equations
- random numbers
- Fourier analysis
- eigenvalues and singular values
- partial differential equations
George Forsythe initiated a software-based numerical methods course at Stanford University in the late 1960s. The textbooks by Forsythe, Malcolm, and Moler  and Kahaner, Moler, and Nash  that evolved from the Stanford course were based upon libraries of Fortran subroutines.
This textbook is based upon MATLAB. NCM, a collection of over 70 M-files, forms an essential part of the book. Many of the over 200 exercises involve modifying and extending the programs in NCM. The book also makes extensive use of computer graphics, including interactive graphical expositions of numerical
The prerequisites for the course, and the book, include:
- some familiarity with ordinary differential equations
- some familiarity with matrices
- some computer programming experience
If you’ve never used Matlab before, the first chapter will help you get started. If you’re already familiar with Matlab you can glance over most of the first chapter quickly. Everyone should read the section in the first chapter about floating point arithmetic.
There is probably too much material here for a one-quarter or one-semester course. Plan to cover the first several chapters and then choose the portions of the last four chapters that interest you.
Make sure that the NCM collection is installed on your network or your personal computer as you read the book.
The software is available from a Web site devoted to the book here
There are three types of NCM files:
- gui files. Interactive graphical demonstrations.
- tx files. Textbook implementations of built-in Matlab functions.
- Others. Miscellaneous ¯les, primarily associated with exercises.
When you have NCM available,
produces the figure shown on the next page. Each thumbnail plot is actually a push button that launches the corresponding gui.
This book would not have been possible without the staff of The MathWorks. They are a terrific group of people and have been especially supportive of this book project. Out of the many friends and colleagues who have made specific contributions, I want to mention five in particular. Kathryn Ann Moler has used early drafts of the book several times in courses at Stanford and has been my best critic. Tim Davis and Charlie Van Loan wrote especially helpful reviews. Lisl Urban did an immaculate editing job. My wife Patsy has lived with my work habits and my laptop and loves me anyway. Thanks, everyone.
– Cleve Moler, January 5, 2004.
- Book Type: PDF
- Book Availability: Free
- Book Publisher: Cleve Moler / Mathworks Inc.
- Working Files: Available