## Book description

The essential guide to MATLAB as a problem solving tool This text presents MATLAB both as a mathematical tool and a programming language, giving a concise and easy to master introduction to its potential and power. The fundamentals of MATLAB are illustrated throughout with many examples from a wide range of familiar scientific and engineering areas, as well as from everyday life. The new edition has been updated to include coverage of Symbolic Math and SIMULINK. It also adds new examples and applications, and uses the most recent release of Matlab.

2. Preface
3. 1. Essentials
1. 1. Introduction
1. 1.1. Using MATLAB
2. 1.2. The MATLAB Desktop
3. 1.3. Sample Program
1. 1.3.1. Cut and paste
2. 1.3.2. Saving a program: script files
3. 1.3.3. A program in action
4. Summary
5. Chapter Exercises
2. 2. MATLAB Fundamentals
1. 2.1. Variables
2. 2.2. The Workspace
3. 2.3. Arrays: Vectors and Matrices
4. 2.4. Vertical Motion Under Gravity
5. 2.5. Operators, Expressions, and Statements
6. 2.6. Output
7. 2.7. Repeating with for
8. 2.8. Decisions
9. 2.9. Complex Numbers
10. 2.10. More on Input and Output
11. 2.11. Odds and Ends
12. 2.12. Programming Style
13. Summary
14. Chapter Exercises
3. 3. Program Design and Algorithm Development
1. 3.1. The Program Design Process
2. 3.2. Structure Plan Examples
3. 3.3. Structured Programming with Functions
4. Summary
5. Chapter Exercises
4. 4. MATLAB Functions and Data Import–Export Utilities
1. Common Functions
2. 4.2. Importing and Exporting Data
1. 4.2.1. The load and save commands
2. 4.2.2. Exporting text (ASCII) data
3. 4.2.3. Importing text (ASCII) data
4. 4.2.4. Exporting and importing binary data
5. 4.2.5. The Import Wizard
6. 4.2.6. *Low-level file I/O functions
7. 4.2.7. *Other import/export functions
3. Summary
4. Chapter Exercises
5. 5. Logical Vectors
1. 5.1. Examples
2. 5.2. Logical Operators
3. 5.3. Subscripting with Logical Vectors
4. 5.4. Logical Functions
6. Summary
7. Chapter Exercises
6. 6. Matrices of Numbers and Arrays of Strings
1. 6.1. Matrices
2. 6.2. Matrix Operations
3. 6.3. Other Matrix Functions
4. 6.4. *Strings
5. 6.5. *Two-Dimensional Strings
6. 6.6. *eval and Text Macros
7. Summary
8. Chapter Exercises
7. 7. Introduction to Graphics
1. 7.1. Basic Two-Dimensional Graphs
2. 7.2. Three-Dimensional Plots
3. Summary
4. Chapter Exercises
8. 8. Loops
1. 8.1. Determinate Repetition with for
2. 8.2. Indeterminate Repetition with while
3. Summary
4. Chapter Exercises
9. 9. Errors and Pitfalls
1. 9.1. Syntax Errors
2. 9.2. Logic Errors
3. 9.3. Rounding Error
4. Summary
5. Chapter Exercises
10. 10. Function M-files
1. 10.1. Inline Objects: Harmonic Oscillators
2. 10.2. Function M-Files: Newton’s Method Revisited
3. 10.3. Basic Rules
4. 10.4. Function Handles
5. 10.5. Command/Function Duality
6. 10.6. Function Name Resolution
7. 10.7. Debugging M-Files
8. 10.8. Recursion
9. Summary
10. Chapter Exercises
11. 11. Vectors as Arrays and *Advanced Data Structures
1. 11.1. Update Processes
2. 11.2. Frequencies, Bar Charts, and Histograms
3. 11.3. *Sorting
4. 11.4. *Structures
5. 11.5. *Cell Arrays
6. 11.6. *Classes and Objects
7. Summary
12. 12. *More Graphics
1. 12.1. Handle Graphics
2. 12.2. Editing Plots
3. 12.3. Animation
4. 12.4. Colormaps
5. 12.5. Lighting and Camera
6. 12.6. Saving, Printing, and Exporting Graphs
7. Summary
8. Chapter Exercises
13. 13. *Graphical User Interfaces (GUIs)
4. 2. Applications
1. 14. Dynamical Systems
2. 15. Simulation
3. 16. *More Matrices
1. 16.1. Leslie Matrices: Population Growth
2. 16.2. Markov Processes
3. 16.3. Linear Equations
4. 16.4. Sparse Matrices
5. Summary
6. Chapter Exercises
4. 17. *Introduction to Numerical Methods
1. 17.1. Equations
1. 17.1.1. Newton’s method
2. 17.1.2. The Bisection method
3. 17.1.3. The fzero and roots functions
2. 17.2. Integration
3. 17.3. Numerical Differentiation
4. 17.4. First-Order Differential Equations
5. 17.5. Linear Ordinary Differential Equations
6. 17.6. Runge-Kutta Methods
7. 17.7. A Partial Differential Equation
8. 17.8. Other Numerical Methods
9. Summary
10. Chapter Exercises
5. A. Syntax: Quick Reference
6. B. Operators
7. C. Command and Function: Quick Reference
1. C.1. General-Purpose Commands
2. C.2. Logical Functions
3. C.3. MATLAB Programming Tools
4. C.4. Matrices
5. C.5. Mathematical Functions
6. C.6. Matrix Functions
7. C.7. Data Analysis
8. C.8. Polynomial Functions
9. C.9. Function Functions
10. C.10. Sparse Matrix Functions
11. C.11. Character String Functions
12. C.12. File I/O Functions
13. C.13. 2D Graphics
14. C.14. 3D Graphics
15. C.15. General
8. D. ASCII Character Codes
9. E. Solutions to Selected Exercises

## Product information

• Title: Essential MATLAB for Engineers and Scientists Fourth Edition
• Author(s):
• Release date: October 2009