Available:*
Library | Item Barcode | Call Number | Material Type | Item Category 1 | Status |
---|---|---|---|---|---|
Searching... | 30000010164278 | TA345 B484 2007 | Open Access Book | Book | Searching... |
On Order
Summary
Summary
This book provides the optimal introduction to MATLAB and Simulink, the primary tools in engineering, science, and industry for simulating dynamic systems. Using the latest versions of the software, the book features 20 hands-on projects that provide a practical mastery of the subject areas including the code and executable files. Apart from a basic knowledge of mathematics and physics, no further specialist knowledge is necessary. There are also over 80, in-text, exercises where readers themselves can check their mastery of the material. A CD-ROM with source code accompanies the book.
Author Notes
Ottmar Beucher is a professor in the Department of Mechanical Engineering and Mecatronics at the University of Applied Sciences in Karlsruhe, Germany
Michael Weeks is an associate professor at Georgia State University where he teaches courses in Digital Signal Processing and MATLAB
Table of Contents
Preface | p. xv |
Chapter 1 Introduction to MATLAB | p. 1 |
1.1 What is MATLAB? | p. 1 |
1.2 Elementary MATLAB Constructs | p. 3 |
1.2.1 MATLAB Variables | p. 4 |
1.2.2 Arithmetic Operations | p. 13 |
1.2.3 Logical and Relational Operations | p. 21 |
1.2.4 Mathematical Functions | p. 26 |
1.2.5 Graphical Functions | p. 33 |
1.2.6 I/O Operations | p. 50 |
1.2.7 Import Wizard | p. 52 |
1.2.8 Special I/O Functions | p. 52 |
1.2.9 The MATLAB Search Path | p. 54 |
1.2.10 Elementary Matrix Manipulations | p. 56 |
1.3 More Complicated Data Structures | p. 64 |
1.3.1 Structures | p. 64 |
1.3.2 Cell Arrays | p. 72 |
1.3.3 Definition of Cell Arrays | p. 73 |
1.3.4 Access to Cell Array Elements | p. 77 |
1.4 The MATLAB Desktop | p. 82 |
1.5 MATLAB Help | p. 86 |
1.6 MATLAB Programming | p. 88 |
1.6.1 MATLAB Procedures | p. 88 |
1.6.2 MATLAB Functions | p. 90 |
1.6.3 MATLAB Language Constructs | p. 95 |
1.6.4 The Function eval | p. 107 |
1.6.5 Function Handles | p. 109 |
1.6.6 Solution of Differential Equations | p. 113 |
1.7 MATLAB Editor and Debugger | p. 123 |
1.7.1 Editor Functions | p. 123 |
1.7.2 Debugging Functions | p. 125 |
1.8 Symbolic Calculations With The Symbolics Toolbox | p. 127 |
1.8.1 Symbolic "Auxiliary Calculations" | p. 131 |
Chapter 2 Introduction to Simulink? | p. 135 |
2.1 What is Simulink? | p. 135 |
2.2 Operating Principle And Management of Simulink | p. 136 |
2.2.1 Constructing a Simulink Block Diagram | p. 138 |
2.2.2 Parametrizing Simulink Blocks | p. 141 |
2.2.3 Simulink Simulation | p. 145 |
2.3 Solving Differential Equations with Simulink | p. 150 |
2.4 Simplification of Simulink Systems | p. 159 |
2.4.1 The Fcn Block | p. 159 |
2.4.2 Construction of Subsystems | p. 160 |
2.5 Interaction with MATLAB | p. 164 |
2.5.1 Transfer of Variables between Simulink and MATLAB | p. 164 |
2.5.2 Iteration of Simulink Simulations in MATLAB | p. 167 |
2.5.3 Transfer of Variables Through Global Variables | p. 179 |
2.6 Dealing with Characteristic Curves | p. 180 |
Chapter 3 Projects | p. 189 |
3.1 Hello World | p. 189 |
3.1.1 Personalized Hello World | p. 189 |
3.1.2 Hello World with Input | p. 190 |
3.2 Simple Menu | p. 191 |
3.3 File Reading and Writing | p. 195 |
3.3.1 Writing a File | p. 195 |
3.3.2 Reading a File | p. 196 |
3.4 Sorting | p. 199 |
3.5 Working with Biological Images | p. 202 |
3.5.1 Creating a Sub-image | p. 203 |
3.5.2 Working with Multiple Images | p. 208 |
3.6 Working with a Sound File | p. 210 |
3.7 Permutations | p. 217 |
3.8 Approaching a Problem and Using Heuristics | p. 222 |
3.9 Making Permutations Faster | p. 223 |
3.9.1 A Faster Way | p. 223 |
3.9.2 Measuring Time | p. 226 |
3.9.3 The Growth of the Problem | p. 228 |
3.10 Search a File | p. 229 |
3.10.1 A Side Note About System Commands | p. 229 |
3.10.2 DNA Matching | p. 230 |
3.10.3 Our Search Through a File | p. 231 |
3.10.4 Buffering Our Data | p. 234 |
3.10.5 A Further Check | p. 239 |
3.10.6 Generating Random Data | p. 244 |
3.11 Analyzing a Car Stereo | p. 247 |
3.11.1 A Fun Sound Effect | p. 254 |
3.11.2 Another Fun Sound Effect | p. 255 |
3.11.3 Why Divide By 2? | p. 256 |
3.11.4 Stereo Test Conclusion | p. 259 |
3.12 Drawing a Line | p. 262 |
3.12.1 Finding Points Along a Line | p. 262 |
3.12.2 Coding the Solution to Points Along a Line | p. 264 |
3.12.3 Drawing the Line | p. 267 |
3.13 Drawing a Frame | p. 269 |
3.14 Filling a Diamond Shape | p. 273 |
3.15 Drawing an Entire Cube | p. 278 |
3.16 Adjusting Our View | p. 282 |
3.17 Epilogue | p. 287 |
Chapter 4 Solutions to the Problems | p. 289 |
4.1 Solutions to the MATLAB Problems | p. 289 |
4.2 Solutions to the Simulink Problems | p. 349 |
Appendix A Table of Arithmetic MATLAB Operations | p. 367 |
A.1 Arithmetic Operations as Matrix Operations | p. 367 |
A.2 Arithmetic Operations as Field Operations | p. 369 |
Appendix B About the CD-ROM | p. 371 |
Appendix C New Release Information (R2007b) | p. 373 |
C.1 Backwards Compatibility | p. 373 |
C.2 What is New for R2007b | p. 375 |
Software Index | p. 377 |
Index | p. 381 |