LIMITED OFFER
Save 50% on book bundles
Immediately download your ebook while waiting for your print delivery. No promo code needed.
MATLAB: A Practical Introduction to Programming and Problem Solving, Second Edition, is the only book that gives a full introduction to programming in MATLAB combined with an e… Read more
LIMITED OFFER
Immediately download your ebook while waiting for your print delivery. No promo code needed.
MATLAB: A Practical Introduction to Programming and Problem Solving, Second Edition, is the only book that gives a full introduction to programming in MATLAB combined with an explanation of MATLAB’s powerful functions, enabling engineers to fully exploit the software’s power to solve engineering problems. The text aims to provide readers with the knowledge of the fundamentals of programming concepts and the skills and techniques needed for basic problem solving using MATLAB as the vehicle.
The book presents programming concepts such as variables, assignments, input/output, and selection statements as well as 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 is given to input/output, a topic that is fundamental to many engineering applications. A systematic, step-by-step approach that builds on concepts is used throughout the book, facilitating easier learning. There are also sections on ‘common pitfalls’ and ‘programming guidelines’ that direct students towards best practice.
This book will be an invaluable resource for engineers, engineering novices, and students learning to program and model in MATLAB.
New to this edition:
Engineers learning to program and model in Matlab. Undergraduates in engineering and science taking a course that uses (or recommends) MATLAB
Dedication
Preface
Acknowledgments
PART 1. Introduction to Programming Using MATLAB
Chapter 1. Introduction to MATLAB
Contents
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
Summary
Chapter 2. Introduction to MATLAB Programming
Contents
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
Summary
Chapter 3. Selection Statements
Contents
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
Summary
Chapter 4. Loop Statements
Contents
4.1 The for loop
4.2 Nested For Loops
4.3 While Loops
Summary
Chapter 5. Vectorized Code
Contents
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
Summary
Chapter 6. MATLAB Programs
Contents
6.1 More Types of User-Defined Functions
6.2 MATLAB Program Organization
6.3 Application: Menu-Driven Modular Program
6.4 Variable Scope
6.5 Debugging Techniques
Summary
Chapter 7. String Manipulation
Contents
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
Summary
Chapter 8. Data Structures
Contents
8.1 Cell Arrays
8.2 Structures
Summary
Chapter 9. Advanced File Input and Output
Contents
9.1 Lower-level File I/O Functions
9.2 Writing and reading spreadsheet files
9.3 Using MAT-files for Variables
Summary
Chapter 10. Advanced Functions
Contents
10.1 Anonymous Functions
10.2 Uses of Function Handles
10.3 Variable Numbers of Arguments
10.4 Nested Functions
10.5 Recursive Functions
Summary
PART 2. Advanced Topics for Problem Solving with MATLAB
Chapter 11. Advanced Plotting Techniques
Contents
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
Summary
Chapter 12. Matrix Representation of Linear Algebraic Equations
Contents
12.1 Matrix Definitions
12.2 Matrix Solutions to Systems of Linear Algebraic Equations
Summary
Chapter 13. Basic Statistics, Sets, Sorting, and Indexing
Contents
13.1 Statistical Functions
13.2 Set Operations
13.3 Sorting
13.4 Index Vectors
13.5 Searching
Summary
Chapter 14. Sights and Sounds
Contents
14.1 Sound Files
14.2 Image Processing
14.3 Introduction to Graphical User Interfaces
Summary
Chapter 15. Advanced Mathematics
Contents
15.1 Fitting Curves to Data
15.2 Complex Numbers
15.3 Symbolic Mathematics
15.4 Calculus: Integration and Differentiation
Summary
Index
DA