Beginning MATLAB and Simulink : from beginner to pro /

Employ essential tools and functions of the MATLAB and Simulink packages, which are explained and demonstrated via interactive examples and case studies. This revised edition covers features from the latest MATLAB 2022b release, as well as other features that have been released since the first editi...

Full description

Bibliographic Details
Main Author: Eshkabilov, Sulaymon (Author)
Format: eBook
Language:English
Published: New York, NY : Apress, [2022]
Edition:2nd ed.
Subjects:
Online Access:Connect to the full text of this electronic book
Table of Contents:
  • Intro
  • Table of 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
  • Numerical Data/Arrays
  • Not a Number
  • Character Type of Variables
  • Function Handle
  • Logical Arrays
  • Table Arrays
  • Cell Arrays
  • Structure Arrays
  • Complex Numbers
  • Precision
  • M-file and MLX-file Editors
  • M-file Editor
  • MLX-file Editor
  • % Comments
  • Closing the MATLAB Window
  • Summary
  • References
  • Exercises for Self-Testing
  • Exercise 1
  • Exercise 2
  • Exercise 3
  • Exercise 4
  • Exercise 5
  • Exercise 6
  • Exercise 7
  • Exercise 8
  • Exercise 9
  • Exercise 10
  • Exercise 11
  • Exercise 12
  • Exercise 13
  • Exercise 14
  • Exercise 15
  • Exercise 16
  • Exercise 17
  • Exercise 18
  • Exercise 19
  • Exercise 20
  • Exercise 21
  • Exercise 22
  • Exercise 23
  • Exercise 24
  • Exercise 25
  • Exercise 26
  • Exercise 27
  • Exercise 28
  • Exercise 29
  • Exercise 30
  • Exercise 31
  • Exercise 32
  • Exercise 33
  • Exercise 34
  • Exercise 35
  • Exercise 36
  • Exercise 37
  • Exercise 38
  • Exercise 39
  • Exercise 40
  • Exercise 41
  • Exercise 42
  • Exercise 43
  • Exercise 44
  • Exercise 45
  • Chapter 2: Programming Essentials
  • Writing M/MLX-Files
  • How to Create an M/MLX-File
  • Warnings in Scripts
  • Errors in Scripts
  • Example 1
  • Example 2
  • Example 3
  • Example 4
  • Example 5
  • Cell Mode
  • Debugging Mode
  • M-Lint Code Check
  • Code Profiling
  • Dependency Report
  • P-Codes
  • Some Remarks on Scripts/M/MLX-Files
  • Display and Print Operators: display, sprintf, and fprintf
  • Example 1
  • Example 2
  • fprintf( )
  • Control Statements: [if, else, elseif, end], [switch, case, end]
  • Example 1
  • Example 2
  • Example 3
  • Case 1
  • Case 2
  • Case 3
  • Example 4
  • Loop Control Statements: while, for, continue, break, end
  • Example 1
  • Example 2
  • Example 3
  • Example 4
  • Example 5
  • Example 6
  • Example 7
  • Example 8
  • Example 9
  • Example 10
  • Example 11
  • Memory Allocation
  • Example 12
  • Example 13
  • Example 14
  • Example 15
  • Example 16
  • Example 17
  • Example 18
  • Example 19
  • Symbol References in Programming
  • Asterisk
  • At Sign
  • Colon
  • Comma
  • Curly Brackets
  • Dollar Sign
  • Dot
  • Dot-Dot
  • Dot-Dot-Dot (Ellipsis)
  • Parentheses
  • Percent
  • Semicolon
  • Single Quotes
  • Slash and Backslash
  • Square Brackets
  • Function Files
  • Example 1
  • Example 2
  • Example 3
  • Example 4
  • Most Common Errors with the Function Files
  • Varying Number of Inputs and Outputs
  • Example 5
  • Example 6
  • Example 7
  • Task 1
  • Task 2
  • Nested and Subfunctions of Function Files
  • Example 8
  • Function Files Within M-Files
  • Example 9
  • Summary of Scripts and Function Files
  • Inline Functions
  • Example 1
  • Example 2
  • Example 3