Skip to:Content
|
Bottom
Cover image for Introduction to MATLAB and simulink : a project approach
Title:
Introduction to MATLAB and simulink : a project approach
Personal Author:
Edition:
3rd ed
Publication Information:
Hingham, MA : Infinity Science Press, 2006
Physical Description:
1v + 1 CD-ROM
ISBN:
9781934015049
General Note:
Accompanied by compact disc : CP 12508
Added Author:

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

Prefacep. xv
Chapter 1 Introduction to MATLABp. 1
1.1 What is MATLAB?p. 1
1.2 Elementary MATLAB Constructsp. 3
1.2.1 MATLAB Variablesp. 4
1.2.2 Arithmetic Operationsp. 13
1.2.3 Logical and Relational Operationsp. 21
1.2.4 Mathematical Functionsp. 26
1.2.5 Graphical Functionsp. 33
1.2.6 I/O Operationsp. 50
1.2.7 Import Wizardp. 52
1.2.8 Special I/O Functionsp. 52
1.2.9 The MATLAB Search Pathp. 54
1.2.10 Elementary Matrix Manipulationsp. 56
1.3 More Complicated Data Structuresp. 64
1.3.1 Structuresp. 64
1.3.2 Cell Arraysp. 72
1.3.3 Definition of Cell Arraysp. 73
1.3.4 Access to Cell Array Elementsp. 77
1.4 The MATLAB Desktopp. 82
1.5 MATLAB Helpp. 86
1.6 MATLAB Programmingp. 88
1.6.1 MATLAB Proceduresp. 88
1.6.2 MATLAB Functionsp. 90
1.6.3 MATLAB Language Constructsp. 95
1.6.4 The Function evalp. 107
1.6.5 Function Handlesp. 109
1.6.6 Solution of Differential Equationsp. 113
1.7 MATLAB Editor and Debuggerp. 123
1.7.1 Editor Functionsp. 123
1.7.2 Debugging Functionsp. 125
1.8 Symbolic Calculations With The Symbolics Toolboxp. 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 Simulinkp. 136
2.2.1 Constructing a Simulink Block Diagramp. 138
2.2.2 Parametrizing Simulink Blocksp. 141
2.2.3 Simulink Simulationp. 145
2.3 Solving Differential Equations with Simulinkp. 150
2.4 Simplification of Simulink Systemsp. 159
2.4.1 The Fcn Blockp. 159
2.4.2 Construction of Subsystemsp. 160
2.5 Interaction with MATLABp. 164
2.5.1 Transfer of Variables between Simulink and MATLABp. 164
2.5.2 Iteration of Simulink Simulations in MATLABp. 167
2.5.3 Transfer of Variables Through Global Variablesp. 179
2.6 Dealing with Characteristic Curvesp. 180
Chapter 3 Projectsp. 189
3.1 Hello Worldp. 189
3.1.1 Personalized Hello Worldp. 189
3.1.2 Hello World with Inputp. 190
3.2 Simple Menup. 191
3.3 File Reading and Writingp. 195
3.3.1 Writing a Filep. 195
3.3.2 Reading a Filep. 196
3.4 Sortingp. 199
3.5 Working with Biological Imagesp. 202
3.5.1 Creating a Sub-imagep. 203
3.5.2 Working with Multiple Imagesp. 208
3.6 Working with a Sound Filep. 210
3.7 Permutationsp. 217
3.8 Approaching a Problem and Using Heuristicsp. 222
3.9 Making Permutations Fasterp. 223
3.9.1 A Faster Wayp. 223
3.9.2 Measuring Timep. 226
3.9.3 The Growth of the Problemp. 228
3.10 Search a Filep. 229
3.10.1 A Side Note About System Commandsp. 229
3.10.2 DNA Matchingp. 230
3.10.3 Our Search Through a Filep. 231
3.10.4 Buffering Our Datap. 234
3.10.5 A Further Checkp. 239
3.10.6 Generating Random Datap. 244
3.11 Analyzing a Car Stereop. 247
3.11.1 A Fun Sound Effectp. 254
3.11.2 Another Fun Sound Effectp. 255
3.11.3 Why Divide By 2?p. 256
3.11.4 Stereo Test Conclusionp. 259
3.12 Drawing a Linep. 262
3.12.1 Finding Points Along a Linep. 262
3.12.2 Coding the Solution to Points Along a Linep. 264
3.12.3 Drawing the Linep. 267
3.13 Drawing a Framep. 269
3.14 Filling a Diamond Shapep. 273
3.15 Drawing an Entire Cubep. 278
3.16 Adjusting Our Viewp. 282
3.17 Epiloguep. 287
Chapter 4 Solutions to the Problemsp. 289
4.1 Solutions to the MATLAB Problemsp. 289
4.2 Solutions to the Simulink Problemsp. 349
Appendix A Table of Arithmetic MATLAB Operationsp. 367
A.1 Arithmetic Operations as Matrix Operationsp. 367
A.2 Arithmetic Operations as Field Operationsp. 369
Appendix B About the CD-ROMp. 371
Appendix C New Release Information (R2007b)p. 373
C.1 Backwards Compatibilityp. 373
C.2 What is New for R2007bp. 375
Software Indexp. 377
Indexp. 381
Go to:Top of Page