Higher Education
Author(s): Stephen J. Chapman
ISBN: 9789353502874
6th Edition
Copyright: 2020
India Release: 2019
Binding: Paperback
Pages: 864
Trim Size: 241 x 181 mm
Present MATLAB® as a technical programming language while emphasizing problem-solving skills with the 6th Edition of Chapman's highly successful MATLAB® PROGRAMMING FOR ENGINEERS. Students learn how to write clean, efficient and well-documented programs, while gaining an understanding of the many practical functions of MATLAB®. This edition reflects the latest advancements in MATLAB® R2018a and includes new MATLAB® GUI Apps. The first nine chapters can serve as a complete text and resource for first-year engineering students' introduction to programming and problem-solving course. The remaining chapters cover more advanced topics, such as I/O, object-oriented programming, and Graphical User Interfaces, and offer an ideal resource for a longer course. These chapter also provide an ongoing, trusted reference tool for upper-level engineering students or practicing engineers who rely upon MATLAB®.
1. INTRODUCTION TO MATLAB.
The Advantages of MATLAB. Disadvantages of MATLAB. The MATLAB Environment. Using MATLAB as a Calculator. MATLAB Script Files. Summary. Exercises.
2. MATLAB BASICS.
Variables and Arrays. Creating and Initializing Variables in MATLAB. Multidimensional Arrays.
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. Plots with Two Y-Axes. 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. Code Sections. MATLAB Applications: Roots of Polynomials. Summary. Exercises.
5. LOOPS AND VECTORIZATION.
The while Loop. The for Loop. Logical Arrays and Vectorization. The MATLAB Profiler. Additional Examples. The
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. Function Handles. Functions eval and feval. Local Functions, Private Functions, and Nested Functions. An Example Application: Solving Ordinary Differential Equations. Anonymous Functions. Recursive Functions. Plotting Functions. Histograms. An Example Application: Numerical Integration. Summary. Exercises.
8. COMPLEX NUMBERS AND ADDITIONAL PLOTS.
Complex Data. Multidimensional Arrays. Gallery of MATLAB Plots. Line Plots. Discrete Data Plots. Polar Plots. Contour Plots. Surface and Mesh Plots. Pie Charts, Bar Plots, and Histograms. Color Order, Color Maps, and Color Bars. Summary. Exercises.
9. ADDITIONAL DATA TYPES.
Character Arrays versus Strings. Character Arrays and Character Functions. The string Data Type. Summary of Character Array and String Functions. The single Data Type. Integer Data Types. Limitations of the single and Integer Data Types. The datetime and duration Data Types. Summary. Exercises.
10. SPARSE ARRAYS, CELL ARRAYS, STRUCTURES, AND TABLES.
Sparse Arrays. Cell Arrays. Structure Arrays. Table Arrays. Summary. Exercises.
11. INPUT/OUTPUT FUNCTIONS.
The textread Function. More about the load and save Commands. An Introduction to MATLAB File Processing. File Opening and Closing. Binary I/O Functions. Formatted I/O Functions. Comparing Formatted and Binary I/O Functions. File Positioning and Status Functions. The textscan Function. Function uiimport. Summary. Exercises.
12. USER-DEFINED CLASSES AND OBJECT-ORIENTED PROGRAMMING.
An Introduction to Object-Oriented Programming. The Structure of a MATLAB Class. Value Classes versus Handle Classes. Destructors: The delete Method. Access Methods and Access Controls. Static Methods. Defining Class Methods in Separate Files. Overriding Operators. Events and Listeners. Exceptions. Superclasses and Subclasses. Summary. Exercises.
13. HANDLE GRAPHICS AND ANIMATION.
Handle Graphics. The MATLAB Graphics System. Object Handles. Examining and Changing Object Properties. Using set to List Possible Property Values. User-Defined Data. Finding Objects. Selecting Objects with the Mouse. Position and Units. Printer Positions. Default and Factory Properties.
Restoring Default Properties. Graphics Object Properties. Animations and Movies. Summary. Exercises.
14. MATLAB APPS AND GRAPHICAL USER INTERFACES.
How a Graphical User Interface Works. Creating and Displaying a Graphical User Interface. Object Properties. Additional Containers: Panels, Tab Groups, and Button Groups. Dialog Boxes. Menus. Summary. Exercises.
Stephen J. Chapman, BAE Systems Australia
Stephen J. Chapman received a B.S.