Key Features
* Presents programming concepts and MATLAB built-in functions side-by-side, giving students the ability to program efficiently and exploit the power of MATLAB to solve problems.
* In depth coverage of file input/output, a topic essential for many engineering applications
* Systematic, step-by-step approach, building on concepts throughout the book, facilitating easier learning
* Sections on ‘common pitfalls’ and ‘programming guidelines’ direct students towards best practice
* New to this edition:
- More engineering applications help the reader learn Matlab in the context of solving technical problems
- New and revised end of chapter problems
- Stronger coverage of loops and vectorizing in a new chapter, chapter 5
- Updated to reflect current features and functions of the current release of Matlab
Description
Assuming no knowledge of programming, this book presents both programming concepts and MATLAB’s built-in functions, providing a perfect platform for exploiting MATLAB’s extensive capabilities for tackling engineering problems. It starts with programming concepts such as variables, assignments, input/output, and selection statements, moves onto loops and then solves problems using both the ‘programming concept’ and the ‘power of MATLAB’ side-by-side. In-depth coverage is given to input/output, a topic that is fundamental to many engineering applications.
Ancillaries available with the text:
- Instructor solution manual (available Aug. 1st)
- electronic images from the text (available Aug 16th)
- m-files (available Aug 1st)
Readership
Engineers learning to program and model in Matlab. Undergraduates in engineering and science taking a course that uses (or recommends) MATLAB.
Matlab, 2nd Edition
I. Introduction to Programming Using MATLAB
Chapter 1: Introduction to MATLAB
1.1 Getting into MATLAB
1.2 The MATLAB Desktop Environment
1.3 Variables and Assignment Statements
1.4 Expressions
1.5 Characters and Encoding
1.6 Vectors and Matrices
Chapter 2: Introduction to MATLAB Programming
2.1 Algorithms
2.2 MATLAB Scripts
2.3 Input and Output
2.4 Scripts with Input and Output
2.5 Scripts to Produce and Customize Simple Plots
2.6 Introduction to File Input/Output (load and save)
2.7 User-defined Functions that return a single value
Chapter 3: Selection Statements
3.1 Relational Expressions
3.2 The if Statement
3.3 The if-else statement
3.4 Nested if-else statements
3.5 The switch statement
3.6 The menu function
3.7 The "is" functions in MATLAB
Chapter 4: Loop Statements
4.1 The for Loop
4.2 Nested for Loops
4.3 While Loops
Chapter 5: Vectorized Code
5.1 Loops with Vectors and Matrices
5.2 Operations on Vectors and Matrices
5.3 Vectors and Matrices as Function Arguments
5.4 Logical Vectors
5.5 Vectorizing Code
5.6 Timing
Chapter 6: MATLAB Programs
6.1 More Types of User-Defined Functions
6.2 MATLAB Program Organization
6.3 Application: Menu-Driven Program
6.4 Variable Scope
6.5 Debugging Techniques
Chapter 7: String Manipulation
7.1 Creating String Variables
7.2 Operations on Strings
7.3 The "is" functions for strings
7.4 Converting Between String and Number Types
Chapter 8: Data Structures: Cell Arrays and Structures
8.1 Cell Arrays
8.2 Structures
Chapter 9: Advanced File Input and Output
9.1 Lower-level File I/O Functions
9.2 Writing and Reading spreadsheet files
9.3 Using MAT-Files for Variables
Chapter 10: Advanced Functions
10.1 Anonymous Functions
10.2 Uses of Function Handles
10.3 Variable Number of Arguments
10.4 Nested Functions
10.5 Recursive Functions
II. Advanced Topics for Problem Solving with MATLAB
Chapter 11: Advanced Plotting Techniques
11.1 Plot Functions
11.2 Animation
11.3 Three-Dimensional Plots
11.4 Customizing Plots
11.5 Handle Graphics and Plot Properties
11.6 Plot Applications
Chapter 12: Matrix Representation of Linear Algebraic Equations
12.1 Matrix Definitions
12.2 Matrix Solutions to Systems of Linear Algebraic Equations
Chapter 13: Basic Statistics, Searching, Sets, Sorting, and Indexing
13.1 Statistical Functions
13.2 Set Operations
13.3 Sorting
13.4 Index Vectors
13.5 Searching
Chapter 14: Sights and Sounds
14.1 Sound Files
14.2 Image Processing
14.3 Introduction to Graphical User Interfaces
Chapter 15: Advanced Mathematics
15.1 Curve Fitting
15.2 Complex numbers
15.3 Symbolic Mathematics
15.4 Calculus: integration and differentiation