Emphasizing problem-solving skills throughout, this fifth edition of Chapman's highly successful book teaches MATLAB as a technical programming language, showing students how to write clean, efficient, and well-documented programs, while introducing them to many of the practical functions of MATLAB. The first eight chapters are designed to serve as the text for an "Introduction to Programming / Problem Solving" course for first-year engineering students. The remaining chapters, which cover advanced topics such as I/O, object-oriented programming, and Graphical User Interfaces, may be covered in a longer course or used as a reference by engineering students or practicing engineers who use MATLAB.
Branches and Loops each have a chapter to themselves.
The discussion of functions is split over two chapters to help students to absorb the material in more bite-sized chunks.
A new Chapter 3 is dedicated to 2D plots, collecting all of the plotting information in a single place.
Chapter 8 has more extensive coverage of 3D plots, and Chapter 13 now has a section devoted to animations.
Chapter 12 is a completely new discussion of MATLAB classes and object-oriented programming.
Chapter 13 has been rewritten to cover the new H2 handle graphics, where handles are now MATLAB objects instead of numbers. The full-color insert has been expanded to offer students more examples.
Good programming practices, such as top-down design, emphasize the importance of first clearly defining the problem to be solved, as well as the required inputs and outputs.
Coverage of the use of functions to decompose tasks into smaller subtasks, data hiding, unit testing, and how to avoid common mistakes helps readers maximize their effective use of MATLAB.
MATLAB tools are covered to make programming easier including the Editor/Debugger, Workspace Browser, Help Browser, and GUI design tools.