وبلاگ بلیان

مقدمه‌ای بر متلب و سیمولینک: از مبتدی تا حرفه‌ای

Beginning MATLAB and Simulink : From Beginner to Pro

معرفی کتاب «مقدمه‌ای بر متلب و سیمولینک: از مبتدی تا حرفه‌ای» (با عنوان لاتین Beginning MATLAB and Simulink : From Beginner to Pro) نوشتهٔ Sulaymon Eshkabilov، منتشرشده توسط نشر Apress Apress در سال 2022. این کتاب در 632 صفحه، فرمت pdf، زبان انگلیسی ارائه شده است. «مقدمه‌ای بر متلب و سیمولینک: از مبتدی تا حرفه‌ای» در دستهٔ برنامه‌نویسی قرار دارد.

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 edition published. This book contains dozens of simulation models and solved problems via m-files/scripts and Simulink models which will help you to learn programming and modelling essentials. You’ll become efficient with many of the built-in tools and functions of MATLAB/Simulink while solving engineering and scientific computing problems. Beginning MATLAB and Simulink, Second Edition explains various practical issues of programming and modelling in parallel by comparing MATLAB and Simulink. After studying and using this book, you'll be proficient at using MATLAB and Simulink and applying the source code and models from the book's examples as templates for your own projects in data science or engineering. What You Will Learn Master the programming and modelling essentials of MATLAB and Simulink Carry out data visualization with MATLAB Build a GUI and develop App with MATLAB Work with integration and numerical root finding methods Apply MATLAB to differential equations-based models and simulations Use MATLAB and Simulink for data science projects Who This Book Is For Engineers, programmers, data scientists, and students majoring in engineering and scientific computing who are new to MATLAB and Simulink. 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 Anonymous Functions with Handles Example 1 Example 2 Example 3 Summary 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 Chapter 3: Graphical User Interface Model Development GUIDE Example 1: Building a 2D Plot Example 2: Adding Functionality Exporting the GUIDE GUI into App Designer Example 3: Solving a Quadratic Equation Building the GUI Editing the Callback Functions GUI Dialogs and Message Boxes Error Dialog Warning Message F1 Help/Message Box General Syntax Input Dialog Question Dialog Making a Choice Providing Input to an Equation Summary Exercises for Self-Testing Exercise 1 Exercise 2 Exercise 3 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 Exercise 1 Exercise 2 Exercise 3 Exercise 4 Exercise 5 Chapter 5: Simulink Modeling Essentials Simulink Modeling Example: Arithmetic Calculations Example: Modeling Simple Arithmetic Operations Performing Matrix Operations Computing Values of Functions Input/Output Signals from/to the MATLAB Workspace Simulating a Mechanical System Working with a Second-Order Differential Equation Subsystem in Simulink Modeling Simulink Model Analysis and Diagnostics Code Generation Model Advisor Summary Exercises for Self-Testing Exercise 1 Exercise 2 Exercise 3 Exercise 4 Exercise 5 Chapter 6: Plots and Data Visualization Basics of Plot Building PLOT() Example 1: Plotting Two Rows of Data Example 2: Plotting Function Values Example 3: Building a Histogram Example 4: Building a Bar Chart Example 5: Building a 3D Pie Chart TITLE, XLABEL, YLABEL, AXIS, GRID, and LEGEND TITLE() XLABEL, YLABEL, and ZLABEL AXIS GRID Example 6: Plotting a Unit Circle with Plot Tools LINE and MARKER Specifiers Example 7: Plotting Sine Function Values with Plot Tools Special Characters Example 8: Plotting Sine Function Values with Plot Tools Plot Two Data Sets in Two Y–Y Axes Example 9: Plotting Two Function Values on Y-Y Axes Subplots Example 10: Building Subplots of Functions LEGEND HOLD Example 11: Plotting a Few Function Values in One Plot Example 12: Plotting Function Values with Different Line Markers and Colors Example 13: Bar Chart of Data with Standard Deviation Example 14: Bar Chart of Data with Values Shown Example 15: Bar Chart of Data with NaN Values Shown and Axis Tick Labels Off EZPLOT, FPLOT, and FIMPLICIT with Function Handles (@) Example 16: Plotting a Mathematical Expression with ezplot() GTEXT, TEXT, and GINPUT Example 17: Locate and Display Minimum Values of a Function Plot in a Plot Figure Axis Ticks and Tick Labels Example 18: Display X-Axis Tick Labels Figure Handles Example 19: Working with Figure Handles 3D Surface Plots Example 20: Creating a 3D Pie Plot with pie() Example 21: Creating a 3D Surface Plot with ezsurf() Example 22: Creating a 3D Mesh Plot with ezmesh() Example 23: Creating a 3D Surface-Contour Plot with ezsurfc(), fsurf(), and surfc() Example 24: Creating a 3D Plot of an Electric Potential Field Example 25: Creating 3D Plots with waterfall(), ribbon(), meshc(), contour() Save Plot Figure with saveas() 3D Line Plots and Animations Example 26: Building 3D Line Plots and Animated 3D Line Plots with plot3(), comet3(), and ezplot3() Animated Plots Example 27: Building an Animated Plot with getframe() Example 28: Building an Animated Plot with drawnow Example 29: Building an Animated Plot with drawnow Example 30: Building an Animated Plot of a Projectile with getframe() Summary 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 Chapter 7: Linear Algebra Introduction to Linear Algebra Matrix Properties and Operators Simulink Blocks for Matrix Determinant, Diagonal Extraction, and Transpose Matrix Inverse or Inverse Matrix Simulink Blocks for Inverse Matrix Example 1: Solving a System of Linear Equations Simulink Modeling Example 2: Embedding a MATLAB Function Block to Compute the Determinant and Solve Linear Equations Example 3: Accuracy of Solver Functions of Linear Equations Example 4: Efficiency of Solver Functions of Linear Equations Example 5: Solving Linear Equations ([A]{x} = [b]) by Changing Values of [b] Example 6: Linear Equations ([A]{x} = [b]) Applied for the Least Squares Method Example 7: Linear Equations ([A]{x} = [b]) Applied for the Least Squares Method Example 8: Linear Equations ([A]{x} = [b]) Applied for the Least Squares Method Using Simulink Modeling Matrix Operations Example: Performing Matrix Operations Standard Matrix Generators Vector Spaces Polynomials Represented by Vectors Simulink Model-Based Solution of Polynomials Eigen-Values and Eigen-Vectors Matrix Decomposition QR Decomposition Example: Computing QR Decomposition of a 5-by-5 Matrix LU Decomposition Example: Computing LU Composition of a 3-by-3 Pascal Matrix Example: Solving [A]{x}=[b] Using LU Composition Cholesky Decomposition Schur Decomposition Singular Value Decomposition Logic Operators, Indexes, and Conversions Logical Indexing Example: Logical Indexing to Locate and Substitute Elements of [A] Matrix Conversions Example: Creating Character Strings with char() 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 Chapter 8: Ordinary Differential Equations Classifying ODEs Example 1: Unconstrained Growth of Biological Organisms Example 2: Radioactive Decay Example 3: Newton’s Second Law Analytical Methods DSOLVE Example 1: Using DSOLVE Example 2: Plotting the Found Solution with dsolve Example 3: Adding an Unspecified Parameter Second-Order ODEs and a System of ODEs Example 1: dsolve with a Second-Order ODE Example 2: System ODEs Example 3: Unsolvable Solutions Using dsolve Example 4: Computing an Analytical Solution Example 5: An Interesting ODE Laplace Transforms Example 1: First Laplace Transform LAPLACE/ILAPLACE Example 2: Using LAPLACE Example 3: A Final LAPLACE Example 4: Comparing LAPLACE/ILAPLACE with DSOLVE Example 5: Convergent Answers Example 6: No Analytical Solution Example 7: Demonstrating Efficiency and Effortlessness MATLAB Built-in ODEx Solvers Example 8: Demonstrating MATLAB Built-in ODEx Solvers Example 9: MATLAB Built-in ODEx Solvers for Second-Order ODEs Example 10: Simulink Modeling Summary References Self-Study Exercises Exercise 1 Exercise 2 Exercise 3 Exercise 4 Exercise 5 Exercise 6 Exercise 7 Exercise 8 Exercise 9 Exercise 10 Index 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 edition published. This book contains dozens of simulation models and solved problems via m-files/scripts and Simulink models which will help you to learn programming and modelling essentials. You'll become efficient with many of the built-in tools and functions of MATLAB/Simulink while solving engineering and scientific computing problems. Beginning MATLAB and Simulink, Second Edition explains various practical issues of programming and modelling in parallel by comparing MATLAB and Simulink. After studying and using this book, you'll be proficient at using MATLAB and Simulink and applying the source code and models from the book's examples as templates for your own projects in data science or engineering. What You Will Learn Master the programming and modelling essentials of MATLAB and Simulink Carry out data visualization with MATLAB Build a GUI and develop App with MATLAB Work with integration and numerical root finding methods Apply MATLAB to differential equations-based models and simulations Use MATLAB and Simulink for data science projects Who This Book Is ForEngineers, programmers, data scientists, and students majoring in engineering and scientific computing who are new to MATLAB and Simulink. -- Provided by publisher
دانلود کتاب مقدمه‌ای بر متلب و سیمولینک: از مبتدی تا حرفه‌ای