Beginning MATLAB and Simulink: From Beginner to Pro

by Sulaymon Eshkabilov

Programming

Book Details

Book Title

Beginning MATLAB and Simulink: From Beginner to Pro

Author

Sulaymon Eshkabilov

Publisher

Apress

Publication Date

2022

ISBN

9781484287477

Number of Pages

627

Language

English

Format

PDF

File Size

20.3MB

Subject

Mathematics Computers

Table of Contents

  • Contents
  • About the Author
  • About the Technical Reviewers
  • Acknowledgments
  • Introduction
  • Chapter 1: Introduction to MATLAB
  • Menu Panel and Help
  • The MATLAB Environment
  • Working in the Command Window
  • Command Window and Variables
  • Using Variables
  • When to Use the Command Window
  • Different Variables and Data Sets in MATLAB
  • M-file and MLX-file Editors
  • M-file Editor
  • MLX-file Editor
  • % Comments
  • Closing the MATLAB Window
  • Summary
  • References
  • Exercises for Self-Testing
  • Chapter 2: Programming Essentials
  • Writing M/MLX-Files
  • Display and Print Operators: display, sprintf, and fprintf
  • Control Statements: if, else, elseif, end; switch, case
  • Loop Control Statements: while, for, continue, break
  • Symbol References in Programming
  • Function Files
  • Inline Functions
  • Anonymous Functions with Handles
  • Summary
  • Chapter 3: Graphical User Interface Model Development
  • GUIDE
  • Editing the Callback Functions
  • GUI Dialogs and Message Boxes
  • Summary
  • Exercises for Self-Testing
  • Chapter 4: MEX Files, C/C++, and Stand-Alone Applications
  • Verifying Compilers
  • Generating C Code
  • Creating MEX Files from Other Languages
  • Building Stand-Alone Applications
  • Summary
  • Exercises for Self-Testing
  • Chapter 5: Simulink Modeling Essentials
  • Simulink Modeling
  • Example: Arithmetic Calculations
  • Example: Modeling Simple Arithmetic Operations
  • Performing Matrix Operations
  • Computing Values of Functions
  • Chapter 6: Plots and Data Visualization
  • Basics of Plot Building
  • PLOT()
  • Example 1: Plotting Two Rows of Data
  • TITLE, XLABEL, YLABEL, AXIS, GRID, and LEGEND
  • LINE and MARKER Specifiers
  • Plot Two Data Sets in Two Y–Y Axes
  • Subplots
  • LEGEND
  • HOLD
  • EZPLOT, FPLOT, and FIMPLICIT with Function Handles (@)
  • GTEXT, TEXT, and GINPUT
  • Axis Ticks and Tick Labels
  • Figure Handles
  • 3D Surface Plots
  • Example 25: Creating 3D Plots with waterfall(), ribbon(), meshc(), contour()
  • Save Plot Figure with saveas()
  • 3D Line Plots and Animations
  • Animated Plots
  • Summary
  • Exercises for Self-Testing
  • Chapter 7: Linear Algebra
  • Introduction to Linear Algebra
  • Matrix Properties and Operators
  • Matrix Operations
  • Standard Matrix Generators
  • Vector Spaces
  • Eigen-Values and Eigen-Vectors
  • Matrix Decomposition
  • Logic Operators, Indexes, and Conversions
  • Logical Indexing
  • Summary
  • References
  • Exercises for Self-Testing
  • Chapter 8: Ordinary Differential Equations
  • Classifying ODEs
  • Analytical Methods
  • Second-Order ODEs and a System of ODEs
  • Laplace Transforms
  • LAPLACE/ILAPLACE
  • Summary
  • References
  • Self-Study Exercises
  • Index