Introduction to MATLAB for Engineers is a simple, concise book designed to be useful for beginners and to be kept as a reference. MATLAB is a globally available standard computational tool for engineers and scientists. The terminology, syntax, and the use of the programming language are well defined, and the organization of the material makes it easy to locate information and navigate through the textbook. The text covers all the major capabilities of MATLAB that are useful for beginning students.
Author(s): William John Palm, III
Edition: 3th
Publisher: McGraw-Hill
Year: 2010
Language: English
Pages: 577
Tags: Библиотека;Компьютерная литература;Matlab / Simulink;
Copyright......Page 5
Title Page......Page 4
Contents......Page 8
Preface......Page 10
CHAPTER 1 An Overview of MATLAB®......Page 16
1.1 MATLAB Interactive Sessions......Page 17
1.2 Menus and the Toolbar......Page 29
1.3 Arrays, Files, and Plots......Page 31
1.4 Script Files and the Editor/Debugger......Page 40
1.5 The MATLAB Help System......Page 46
1.6 Problem-Solving Methodologies......Page 51
1.7 Summary......Page 59
Problems......Page 60
CHAPTER 2 Numeric, Cell, and Structure Arrays......Page 66
2.1 One- and Two-Dimensional Numeric Arrays......Page 67
2.2 Multidimensional Numeric Arrays......Page 76
2.3 Element-by-Element Operations......Page 77
2.4 Matrix Operations......Page 86
2.5 Polynomial Operations Using Arrays......Page 98
2.6 Cell Arrays......Page 103
2.7 Structure Arrays......Page 105
2.8 Summary......Page 109
Problems......Page 110
3.1 Elementary Mathematical Functions......Page 126
3.2 User-Defined Functions......Page 132
3.3 Additional Function Topics......Page 143
3.4 Working with Data Files......Page 151
Problems......Page 153
CHAPTER 4 Programming with MATLAB......Page 160
4.1 Program Design and Development......Page 161
4.2 Relational Operators and Logical Variables......Page 168
4.3 Logical Operators and Functions......Page 170
4.4 Conditional Statements......Page 177
4.5 for Loops......Page 184
4.6 while Loops......Page 196
4.7 The switch Structure......Page 201
4.8 Debugging MATLAB Programs......Page 203
4.9 Applications to Simulation......Page 206
4.10 Summary......Page 212
Problems......Page 213
5.1 xy Plotting Functions......Page 232
5.2 Additional Commands and Plot Types......Page 239
5.3 Interactive Plotting in MATLAB......Page 254
5.4 Three-Dimensional Plots......Page 259
Problems......Page 264
6.1 Function Discovery......Page 276
6.2 Regression......Page 284
6.3 The Basic Fitting Interface......Page 295
6.4 Summary......Page 298
Problems......Page 299
CHAPTER 7 Statistics, Probability, and Interpolation......Page 308
7.1 Statistics and Histograms......Page 309
7.2 The Normal Distribution......Page 314
7.3 Random Number Generation......Page 320
7.4 Interpolation......Page 326
7.5 Summary......Page 335
Problems......Page 337
CHAPTER 8 Linear Algebraic Equations......Page 344
8.1 Matrix Methods for Linear Equations......Page 345
8.2 The Left Division Method......Page 348
8.3 Underdetermined Systems......Page 354
8.4 Overdetermined Systems......Page 363
8.5 A General Solution Program......Page 367
8.6 Summary......Page 369
Problems......Page 370
CHAPTER 9 Numerical Methods for Calculus and Differential Equations......Page 382
9.1 Numerical Integration......Page 383
9.2 Numerical Differentiation......Page 390
9.3 First-Order Differential Equations......Page 395
9.4 Higher-Order Differential Equations......Page 402
9.5 Special Methods for Linear Equations......Page 408
9.6 Summary......Page 421
Problems......Page 423
CHAPTER 10 Simulink......Page 432
10.1 Simulation Diagrams......Page 433
10.2 Introduction to Simulink......Page 434
10.3 Linear State-Variable Models......Page 440
10.4 Piecewise-Linear Models......Page 443
10.5 Transfer-Function Models......Page 450
10.6 Nonlinear State-Variable Models......Page 454
10.7 Subsystems......Page 456
10.8 Dead Time in Models......Page 461
10.9 Simulation of a Nonlinear Vehicle Suspension Model......Page 464
10.10 Summary......Page 468
Problems......Page 469
CHAPTER 11 MuPAD......Page 478
11.1 Introduction to MuPAD......Page 479
11.2 Symbolic Expressions and Algebra......Page 485
11.3 Algebraic and Transcendental Equations......Page 492
11.4 Linear Algebra......Page 502
11.5 Calculus......Page 506
11.6 Ordinary Differential Equations......Page 514
11.7 Laplace Transforms......Page 519
11.8 Special Functions......Page 525
11.9 Summary......Page 527
Problems......Page 528
APPENDIX A: Guide to Commands and Functions in This Text......Page 540
APPENDIX B: Animation and Sound in MATLAB......Page 551
APPENDIX C: Formatted Output in MATLAB......Page 562
APPENDIX D: References......Page 566
Answers to Selected Problems......Page 567
Index......Page 570