Matlab: A Practical Introduction to Programming and Problem Solving, 2nd Edition

Book 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)


* 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

Table of contents

  1. Cover Image
  2. Instructions for Online Access
  3. Table of Contents
  4. Title
  5. Copyright
  6. Dedication
  7. Preface
  8. Acknowledgments
  9. PART 1. Introduction to Programming Using MATLAB
    1. Chapter 1. Introduction to MATLAB
      1. 1.1 Getting into MATLAB
      2. 1.2 The MATLAB Desktop Environment
      3. 1.3 Variables and Assignment Statements
      4. 1.4 Expressions
      5. 1.5 Characters and Encoding
      6. 1.6 Vectors and Matrices
      7. Summary
    2. Chapter 2. Introduction to MATLAB Programming
      1. 2.1 Algorithms
      2. 2.2 Matlab scripts
      3. 2.3 Input and Output
      4. 2.4 Scripts with Input and Output
      5. 2.5 Scripts to Produce and Customize Simple Plots
      6. 2.6 Introduction to File Input/Output (Load and Save)
      7. 2.7 User-Defined Functions That Return a Single Value
      8. Summary
    3. Chapter 3. Selection Statements
      1. 3.1 Relational Expressions
      2. 3.2 The if Statement
      3. 3.3 The If-else Statement
      4. 3.4 Nested if-Else Statements
      5. 3.5 The switch statement
      6. 3.6 The menu function
      7. 3.7 The “is” functions in MATLAB
      8. Summary
    4. Chapter 4. Loop Statements
      1. 4.1 The for loop
      2. 4.2 Nested For Loops
      3. 4.3 While Loops
      4. Summary
    5. Chapter 5. Vectorized Code
      1. 5.1 Loops with Vectors and Matrices
      2. 5.2 Operations on Vectors and Matrices
      3. 5.3 Vectors and Matrices as Function Arguments
      4. 5.4 Logical Vectors
      5. 5.5 Vectorizing Code
      6. 5.6 Timing
      7. Summary
    6. Chapter 6. MATLAB Programs
      1. 6.1 More Types of User-Defined Functions
      2. 6.2 MATLAB Program Organization
      3. 6.3 Application: Menu-Driven Modular Program
      4. 6.4 Variable Scope
      5. 6.5 Debugging Techniques
      6. Summary
    7. Chapter 7. String Manipulation
      1. 7.1 Creating String Variables
      2. 7.2 Operations on Strings
      3. 7.3 The “is” functions for strings
      4. 7.4 Converting Between String and Number Types
      5. Summary
    8. Chapter 8. Data Structures
      1. 8.1 Cell Arrays
      2. 8.2 Structures
      3. Summary
    9. Chapter 9. Advanced File Input and Output
      1. 9.1 Lower-level File I/O Functions
      2. 9.2 Writing and reading spreadsheet files
      3. 9.3 Using MAT-files for Variables
      4. Summary
    10. Chapter 10. Advanced Functions
      1. 10.1 Anonymous Functions
      2. 10.2 Uses of Function Handles
      3. 10.3 Variable Numbers of Arguments
      4. 10.4 Nested Functions
      5. 10.5 Recursive Functions
      6. Summary
  10. PART 2. Advanced Topics for Problem Solving with MATLAB
    1. Chapter 11. Advanced Plotting Techniques
      1. 11.1 Plot Functions
      2. 11.2 Animation
      3. 11.3 Three-Dimensional Plots
      4. 11.4 Customizing Plots
      5. 11.5 Handle Graphics and Plot Properties
      6. 11.6 Plot Applications
      7. Summary
    2. Chapter 12. Matrix Representation of Linear Algebraic Equations
      1. 12.1 Matrix Definitions
      2. 12.2 Matrix Solutions to Systems of Linear Algebraic Equations
      3. Summary
    3. Chapter 13. Basic Statistics, Sets, Sorting, and Indexing
      1. 13.1 Statistical Functions
      2. 13.2 Set Operations
      3. 13.3 Sorting
      4. 13.4 Index Vectors
      5. 13.5 Searching
      6. Summary
    4. Chapter 14. Sights and Sounds
      1. 14.1 Sound Files
      2. 14.2 Image Processing
      3. 14.3 Introduction to Graphical User Interfaces
      4. Summary
    5. Chapter 15. Advanced Mathematics
      1. 15.1 Fitting Curves to Data
      2. 15.2 Complex Numbers
      3. 15.3 Symbolic Mathematics
      4. 15.4 Calculus: Integration and Differentiation
      5. Summary
  11. Index

Product information

  • Title: Matlab: A Practical Introduction to Programming and Problem Solving, 2nd Edition
  • Author(s):
  • Release date: August 2011
  • Publisher(s): Butterworth-Heinemann
  • ISBN: 9780123850829