MATLAB For Dummies, 2nd Edition

Book description

Go from total MATLAB newbie to plotting graphs and solving equations in a flash! 

MATLAB is one of the most powerful and commonly used tools in the STEM field. But did you know it doesn’t take an advanced degree or a ton of computer experience to learn it? MATLAB For Dummies is the roadmap you’ve been looking for to simplify and explain this feature-filled tool. 

This handy reference walks you through every step of the way as you learn the MATLAB language and environment inside-and-out. Starting with straightforward basics before moving on to more advanced material like Live Functions and Live Scripts, this easy-to-read guide shows you how to make your way around MATLAB with screenshots and newly updated procedures.  It includes:

  • A comprehensive introduction to installing MATLAB, using its interface, and creating and saving your first file 
  • Fully updated to include the 2020 and 2021 updates to MATLAB, with all-new screenshots and up-to-date procedures 
  • Enhanced debugging procedures and use of the Symbolic Math Toolbox 
  • Brand new instruction on working with Live Scripts and Live Functions, designing classes, creating apps, and building projects 
  • Intuitive walkthroughs for MATLAB’s advanced features, including importing and exporting data and publishing your work 

Perfect for STEM students and new professionals ready to master one of the most powerful tools in the fields of engineering, mathematics, and computing, MATLAB For Dummies is the simplest way to go from complete newbie to power user faster than you would have thought possible. 

Table of contents

  1. Cover
  2. Title Page
  3. Copyright
  4. Introduction
    1. About This Book
    2. Foolish Assumptions
    3. Icons Used in This Book
    4. Beyond the Book
    5. Where to Go from Here
  5. Part 1: Getting Started With MATLAB
    1. Chapter 1: Introducing MATLAB and Its Many Uses
      1. Putting MATLAB in Its Place
      2. Discovering Who Uses MATLAB for Real-World Tasks
      3. Knowing How to Get the Most from MATLAB
      4. Getting Over the Learning Curve
    2. Chapter 2: Starting Your Copy of MATLAB
      1. Installing MATLAB
      2. Meeting the MATLAB Interface
    3. Chapter 3: Interacting with MATLAB
      1. Using MATLAB as a Calculator
      2. Understanding the MATLAB Math Syntax
      3. Organizing Your Storage Locker
      4. Operating MATLAB as More Than a Calculator
      5. Recovering from Mistakes
    4. Chapter 4: Starting, Storing, and Saving MATLAB Files
      1. Examining MATLAB’s File Structure
      2. Accessing and Sharing MATLAB Files
      3. Saving Your Work
  6. Part 2: Manipulating and Plotting Data in MATLAB
    1. Chapter 5: Embracing Vectors, Matrices, and Higher Dimensions
      1. Working with Vectors and Matrices
      2. Adding and Subtracting
      3. Understanding the Many Ways to Multiply and Divide
      4. Working with Higher Dimensions
      5. Using the Matrix Helps
    2. Chapter 6: Understanding Plotting Basics
      1. Considering Plots
      2. Using the Plot Function
      3. Modifying Any Plot
      4. Plotting with 2D Information
    3. Chapter 7: Using Advanced Plotting Features
      1. Plotting with 3D Information
      2. Enhancing Your Plots
      3. Using the Plot Extras
  7. Part 3: Streamlining MATLAB
    1. Chapter 8: Automating Your Work
      1. Understanding What Scripts Do
      2. Creating a Script
      3. Revising Scripts
      4. Calling Scripts
      5. Improving Script Performance
      6. Analyzing Scripts for Errors
      7. Using the MATLAB Profiler to Improve Performance
    2. Chapter 9: Expanding MATLAB’s Power with Functions
      1. Working with Built-in Functions
      2. Creating a Function
      3. Using Other Types of Functions
    3. Chapter 10: Adding Structure to Your Scripts
      1. Making Decisions
      2. Creating Recursive Functions
      3. Performing Tasks Repetitively
      4. Creating Menus
    4. Chapter 11: Working with Live Scripts
      1. Comparing a Live Script to a Regular Script
      2. Working with the Live Editor
      3. Running Live Script Sections
      4. Diagnosing Coding Errors
    5. Chapter 12: Working with Live Functions
      1. Comparing a Live Function to a Regular Function
      2. Understanding Live Function Flexibility Differences
      3. Converting a Function to a Live Function
      4. Sharing Live Functions and Live Scripts
      5. Performing Comparisons and Merges
    6. Chapter 13: Designing and Using Classes
      1. A Brief Overview of Object-Oriented Programming (OOP)
      2. Understanding OOP in MATLAB
      3. Creating a Basic MATLAB Class
    7. Chapter 14: Creating MATLAB Apps
      1. Working with the App Designer
      2. Defining an Interface
      3. Making the Interface Functional
      4. Running the App
      5. Packaging Your App
    8. Chapter 15: Building Projects
      1. Considering the Need for Projects
      2. Creating a New Project
      3. Understanding the Project Dependencies
      4. Running Required Checks
  8. Part 4: Employing Advanced MATLAB Techniques
    1. Chapter 16: Importing and Exporting Data
      1. Importing Data
      2. Exporting Data
      3. Working with Images
    2. Chapter 17: Printing and Publishing Your Work
      1. Using Commands to Format Text
      2. Publishing Your MATLAB Data
      3. Printing Your Work
    3. Chapter 18: Recovering from Mistakes
      1. Working with Error Messages
      2. Understanding Quick Alerts
      3. Relying on Common Fixes for MATLAB’s Error Messages
      4. Making Your Own Error Messages
      5. Using Good Coding Practices
  9. Part 5: Specific MATLAB Applications
    1. Chapter 19: Solving Equations and Finding Roots
      1. Working with the Symbolic Math Toolbox
      2. Performing Algebraic Tasks
      3. Working with Statistics
      4. Employing the Symbolic Math Toolbox for plotting
    2. Chapter 20: Performing Analysis
      1. Using Linear Algebra
      2. Employing Calculus
      3. Solving Differential Equations
  10. Part 6: The Part of Tens
    1. Chapter 21: The Top Ten Uses of MATLAB
      1. Working with Linear Algebra
      2. Performing Numerical Analysis
      3. Designing a Neural Network Simulation
      4. Getting Involved in Science
      5. Logging Sensor Data
      6. Exploring Research
      7. Creating Light Animations Using Arduino
      8. Employing Image Processing
      9. Controlling Industrial Equipment
      10. Performing Audio Compression Using Wavelets
    2. Chapter 22: Ten Ways to Make a Living Using MATLAB
      1. Working with Green Technology
      2. Creating Speech Recognition Software
      3. Performing Antenna Analysis and Design
      4. Getting Disease under Control
      5. Becoming a Computer Chip Designer
      6. Working with Robots
      7. Keeping the Trucks Rolling
      8. Designing Equipment Used in the Field
      9. Reducing Risks Using Simulation
      10. Creating Security Solutions
  11. Appendix A: MATLAB Functions
  12. Appendix B: MATLAB’s Plotting Routines
  13. Index
  14. About the Authors
  15. Advertisement Page
  16. Connect with Dummies
  17. End User License Agreement

Product information

  • Title: MATLAB For Dummies, 2nd Edition
  • Author(s): John Paul Mueller, Jim Sizemore
  • Release date: June 2021
  • Publisher(s): For Dummies
  • ISBN: 9781119796886