MATLAB Programming with Applications for Engineers

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Author(s): Stephen J. Chapman
Edition: 1st Edition
Publisher: Cengage Learning
Year: 2013

Language: English
Pages: 597
Tags: Библиотека;Компьютерная литература;Matlab / Simulink;

Front Cover......Page 1
Title Page
......Page 5
Copyright Page......Page 6
Dedication Page......Page 8
About the Author......Page 9
CONTENTS......Page 10
Preface <---- READ......Page 18
Introduction......Page 24
1.1 The Advantages of MATLAB......Page 25
1.3 The MATLAB Environment......Page 27
1.4 Using MATLAB as a Calculator......Page 42
1.5 Summary......Page 44
1.6 Exercises......Page 45
2.1 Variables and Arrays......Page 48
2.2 Creating and Initializing Variables in MATLAB......Page 52
2.3 Multidimensional Arrays......Page 58
2.4 Subarrays......Page 62
2.5 Special Values......Page 65
2.6 Displaying Output Data......Page 67
2.7 Data Files......Page 71
2.8 Scalar and Array Operations......Page 73
2.9 Hierarchy of Operations......Page 77
2.10 Built-In MATLAB Functions......Page 80
2.11 Introduction to Plotting......Page 83
2.12 Examples......Page 91
2.13 MATLAB Applications Vector Mathematics......Page 97
2.14 MATLAB Applications Matrix Operations and Simultaneous Equations......Page 104
2.15 Debugging MATLAB Programs......Page 107
2.16 Summary......Page 109
2.17 Exercises......Page 113
3.1 Additional Plotting Features for Two-Dimensional Plots......Page 126
3.2 Polar Plots......Page 144
3.3 Annotating and Saving Plots......Page 146
3.4 Additional Types of Two-Dimensional Plots......Page 149
3.5 Using the plot Function with Two-Dimensional Arrays......Page 154
3.6 Summary......Page 156
3.7 Exercises......Page 158
Introduction......Page 162
4.1 Introduction to Top-Down Design Techniques......Page 163
4.2 Use of Pseudocode......Page 166
4.3 Relational and Logic Operators......Page 167
4.4 Branches......Page 176
4.5 More on Debugging MATLAB Programs......Page 196
4.6 MATLAB Applications Roots of Polynomials......Page 201
4.7 Summary......Page 204
4.8 Exercises......Page 205
5.1 The while Loop......Page 212
5.2 The for Loop......Page 218
5.3 Logical Arrays and Vectorization......Page 235
5.4 The MATLAB Profiler......Page 238
5.5 Additional Examples......Page 240
5.6 The textread Function......Page 255
5.7 MATLAB Applications Statistical Functions......Page 257
5.8 MATLAB Applications Curve Fitting and Interpolation......Page 260
5.9 Summary......Page 276
5.10 Exercises......Page 278
Introduction......Page 290
6.1 Introduction to MATLAB Functions......Page 292
6.2 Variable Passing in MATLAB The Pass-by-Value Scheme......Page 297
6.3 Optional Arguments......Page 308
6.4 Sharing Data Using Global Memory......Page 313
6.5 Preserving Data between Calls to a Function......Page 321
6.6 MATLAB Applications Sorting Functions......Page 326
6.7 MATLAB Applications Random Number Functions......Page 328
6.8 Summary......Page 329
6.9 Exercises......Page 330
7.1 Function Functions......Page 340
7.2 Subfunctions and Private Functions......Page 344
7.3 Function Handles......Page 347
7.4 Anonymous Functions......Page 350
7.5 Recursive Functions......Page 351
7.6 Plotting Functions......Page 352
7.7 Histograms......Page 355
7.8 Summary......Page 360
7.9 Exercises......Page 361
8.1 Complex Data......Page 368
8.2 Multidimensional Arrays......Page 381
8.3 Three-Dimensional Plots......Page 383
8.4 Summary......Page 393
8.5 Exercises......Page 394
9.1 Cell Arrays......Page 398
9.2 Structure Arrays......Page 411
9.3 Importing Data into MATLAB......Page 426
9.4 Summary......Page 428
9.5 Exercises......Page 429
10.1 Handle Graphics......Page 434
10.2 Position and Units......Page 449
10.4 Default and Factory Properties......Page 454
10.6 Animations and Movies......Page 457
10.7 Summary......Page 464
10.8 Exercises......Page 465
11.1 Solving Systems of Simultaneous Equations......Page 470
11.2 Differences and Numerical Differentiation......Page 486
11.3 Numerical Integration—Finding the Area under a Curve......Page 489
11.4 Differential Equations......Page 495
11.5 Summary......Page 513
11.6 Exercises......Page 515
A: ASCII Character Set......Page 522
B: Additional MATLAB Input/Output Functions......Page 524
C: Working with Character Strings......Page 542
ch01......Page 562
ch02......Page 563
ch03......Page 565
ch04......Page 567
ch05......Page 569
ch06......Page 570
ch09......Page 571
ch11......Page 573
A......Page 578
B......Page 579
C......Page 580
D......Page 581
E-F......Page 582
G......Page 583
I......Page 584
M......Page 585
O-P......Page 587
S......Page 589
T......Page 590
U-V......Page 591
W-X-Z......Page 592
Errata......Page 593
MATLAB (.m) Files......Page 597