# Essentials of MATLAB® Programming,3rd Edition

#### Stephen J. Chapman

ISBN-13: 9781305970656
512 pages | List Price: USD \$124.95

Now you can master the MATLAB language as you learn how to use it effectively to solve typical problems with ESSENTIALS OF MATLAB® PROGRAMMING, 3E. Author Stephen Chapman emphasizes problem-solving skills throughout this book as he teaches MATLAB as a technical programming language. This edition clearly shows you how to write clean, efficient and well-documented programs, while simultaneously introducing you to many of the practical functions of MATLAB. The first seven chapters offer an ideal introduction to programming and problem solving with MATLAB. The last two chapters address more advanced topics of additional data types and plot types, cell arrays, structures, and new MATLAB handle graphics to give you the skills you need.

1. INTRODUCTION TO MATLAB.
The Advantages of MATLAB. Disadvantages of MATLAB. The MATLAB Environment. Using MATLAB as a Calculator. Summary. Exercises.
2. MATLAB BASICS.
Variables and Arrays. Creating and Initializing Variables in MATLAB. Multidimensional Arrays. Subarrays. Special Values. Displaying Output Data. Data Files.
Scalar and Array Operations. Hierarchy of Operations. Built-in MATLAB Functions. Introduction to Plotting. Examples. Debugging MATLAB Programs. Summary. Exercises.
3. TWO-DIMENSIONAL PLOTS.
Additional Plotting Features for Two-Dimensional Plots. Polar Plots. Annotating and Saving Plots. Additional Types of Two-Dimensional Plots. Using the plot function with Two-Dimensional Arrays. Summary. Exercises.
4. BRANCHING STATEMENTS AND PROGRAM DESIGN.
Introduction to Top-Down Design Techniques. Use of Pseudocode. The Logical Data Type. Branches. More on Debugging MATLAB Programs. Summary. Exercises.
5. LOOPS AND VECTORIZATION.
The while Loop. The for Loop Logical Arrays and Vectorization. The MATLAB Profiler. Additional Examples. The textread Function. Summary. Exercises.
6. BASIC USER-DEFINED FUNCTIONS.
Introduction to MATLAB Functions. Variable Passing in MATLAB: The Pass-By-Value Scheme. Optional Arguments. Sharing Data Using Global Memory. Preserving Data Between Calls to a Function. Built-in MATLAB Functions: Sorting Functions. Built-in MATLAB Functions: Random Number Functions. Summary. Exercises.
7. ADVANCED FEATURES OF USER-DEFINED FUNCTIONS.
Function Functions. Local Functions, Private Functions, and Nested Functions. Function Handles. Anonymous Functions. Recursive Functions. Plotting Functions. Histograms. Summary. Exercises.
8. ADDITIONAL DATA TYPES AND PLOT TYPES.
Complex Data. Strings and String Functions. Multidimensional Arrays. Three-Dimensional Plots. Summary. Exercises.
9. CELL ARRAYS, STRUCTURES, AND HANDLE GRAPHICS.
Cell Arrays. Structure Arrays. Handle Graphics. Position and Units. Printer Positions. Default and Factory Properties. Graphics Object Properties. Summary. Exercises.
Appendix A: UTF-8 Character Set.
Appendix B: MATLAB Input / Output Functions.

• Stephen J. Chapman

Stephen J. Chapman received a B.S. in Electrical Engineering from Louisiana State University and an M.S.E. in Electrical Engineering from the University of Central Florida. He pursued further graduate studies at Rice University. Mr. Chapman has served as an officer in the U.S. Navy, assigned to teach Electrical Engineering at the U.S. Naval Nuclear Power School in Orlando, Florida. He was also affiliated with the University of Houston, where he ran the power systems program in the College of Technology. In addition, he has served as a member of the technical staff of the Massachusetts Institute of Technology’s Lincoln Laboratory, both at the main facility in Lexington, Massachusetts, and at the field site on Kwajalein Atoll in the Republic of the Marshall Islands. While there, he did research in radar signal processing systems. He ultimately became the leader of four large operational range instrumentation radars at the Kwajalein field site (TRADEX, ALTAIR, ALCOR, and MMW). Mr. Chapman also served as a research engineer at Shell Development Company in Houston, Texas, where he conducted seismic signal processing research. In addition, he was affiliated with the University of Houston, where he continued to teach on a part-time basis. Mr. Chapman is currently Manager of Systems Modeling and Operational Analysis for BAE Systems Australia in Melbourne, Australia. He is the subject matter expert of a team that has developed a model of how naval ships defend themselves. This model contains more than 400,000 lines of MATLAB code written over more than a decade. Mr. Chapman is a Senior Member of the Institute of Electrical and Electronic Engineers (and several of its component societies). He is also a member of the Institution of Engineers (Australia).

• UPDATES REPRESENT MATLAB VERSIONS 2014B AND LATER. This edition of the text equips students to use the most recent MATLAB versions and familiarizes them with the latest features, such as the new H2 graphics system.

• REVISIONS REFLECT THE LATEST MATLAB FUNCTIONS. Students leave your course prepared to work with the latest changes in MATLAB, such as the new “legend” options and the tools to easily remove descriptions of deprecated features.

• NEW CONTENT INTRODUCES THE OBJECT-STYLE APPROACH TO ADDRESSING GRAPHICS PROPERTIES. This edition clearly teaches students how to master object-oriented approach while also maintaining a description of the older keyword-value approach.

• CONCISE PRESENTATIONS CONCENTRATE ON THE MOST USEFUL FEATURES OF MATLAB. This brief text focuses on features that most users need in their daily tasks. Advanced capabilities, such as MATLAB GUIs and object-oriented programming, are excluded from this concise book to keep the length and cost reasonable. (These topics are covered thoroughly in the larger version of this book: MATLAB® PROGRAMMING FOR ENGINEERS.)

• SHORTER EARLIER CHAPTERS PRESENT CONCEPTS IN MANAGEABLE SEGMENTS. The author has separated important topics in this edition to help students absorb the material in more bite-sized chunks. Branches and loops are now each addressed in their own chapters, while the discussion of functions is divided into two chapters.

• NEW CHAPTER 3 IS DEDICATED EXCLUSIVELY TO 2D PLOTS. The author has collected and placed all of the plotting information in a single place to ensure student comprehension.

• CHAPTER 8 NOW OFFERS MORE EXTENSIVE COVERAGE OF 3D PLOTS. Students who are ready to take their understanding of 3D Plots to the next level can now find additional explanations and depth of coverage within this chapter.

• BRIEF VERSION HIGHLIGHTS THE MOST IMPORTANT PARTS OF USING MATLAB. This concise, streamlined text emphasizes the MATLAB skills students are most likely to use on a daily basis, while still emphasizing MATLAB’s use as a programming language.

• PRESENTATION TEACHES THE PROPER USE OF MATLAB’S BUILT IN TOOLS. Students leave your course equipped to complete more efficient programming and debugging.

• MATERIAL EMPHASIZES METHODS FOR EFFICIENTLY LOCATING DESIRED FUNCTIONS WITHIN MATLAB. In addition to teaching key features of MATLAB, this brief text places important emphasis on teaching students where to find the functions that they need within the MATLAB platform.

• GOOD PROGRAMMING PRACTICES ARE EMPHASIZED THROUGHOUT. The author carefully reinforces strong programming skills, such as top-down design. He emphasizes the importance of first clearly defining the problem to be solved as well as required inputs and outputs before starting any project.

• STUDENTS USE FUNCTIONS TO DECOMPOSE TASKS INTO SMALLER SUBTASKS. Clear presentations guide students through data hiding, unit testing, and how to avoid common mistakes. The author has carefully addressed the MATLAB tools that make programming easier, including the Editor/Debugger, Workspace Browser, and Help Browser.

• “GOOD PROGRAMMING” BOXES HIGHLIGHT STRONG PROGRAMMING PRACTICES. This special learning feature draws additional attention to programming skills as they are introduced.

• “PROGRAMMING PITFALL” BOXES EMPHASIZE COMMON ERRORS. These helpful features address typical mistakes and demonstrate how students can avoid them as they work and complete projects.

• ADVANCED COVERAGE ADDRESSES DATA STRUCTURES AND NEW HANDLE GRAPHICS. Chapter 9 explains data structures through cell arrays and structure arrays. Through the new handle graphics features students learn to control the appearance of plots and graphs.

• PROVEN LEARNING FEATURES AID IN STUDENT COMPREHENSION. To ensure student comprehension and offer tools for study and review, the book include quizzes as well as end-of-chapter summaries and questions with provided answers for self-testing.

• WEBSITE CONVENIENTLY OFFERS THE SOURCE CODE FOR ALL EXAMPLES. The book’s companion website highlights the source code used in all of the illustrations within the book and highlights instructor’s source code for all solutions.

Cengage provides a range of supplements that are updated in coordination with the main title selection. For more information about these supplements, contact your Learning Consultant.

Companion Website for Chapman’s Essentials of MATLAB® Programming
9781305970700

Instructor’s Solutions Manual for Chapman’s Essentials of MATLAB® Programming, 3rd
9781305970694