MATLAB programming with applications for engineers:
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
[S.l.]
Cengage Learning
2013
|
Ausgabe: | 1. ed., internat. ed. |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XX, 569 S. graph. Darst. |
ISBN: | 9780495668084 0495668087 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV040603573 | ||
003 | DE-604 | ||
005 | 00000000000000.0 | ||
007 | t | ||
008 | 121203s2013 d||| |||| 00||| eng d | ||
020 | |a 9780495668084 |9 978-0-495-66808-4 | ||
020 | |a 0495668087 |9 0-495-66808-7 | ||
024 | 3 | |a 9780495668084 | |
035 | |a (OCoLC)823231384 | ||
035 | |a (DE-599)BSZ363943781 | ||
040 | |a DE-604 |b ger | ||
041 | 0 | |a eng | |
049 | |a DE-573 | ||
084 | |a ST 601 |0 (DE-625)143682: |2 rvk | ||
100 | 1 | |a Chapman, Stephen J. |e Verfasser |4 aut | |
245 | 1 | 0 | |a MATLAB programming with applications for engineers |c Stephen J. Chapman |
250 | |a 1. ed., internat. ed. | ||
264 | 1 | |a [S.l.] |b Cengage Learning |c 2013 | |
300 | |a XX, 569 S. |b graph. Darst. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 0 | 7 | |a MATLAB |0 (DE-588)4329066-8 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a MATLAB |0 (DE-588)4329066-8 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m HEBIS Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=025431284&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-025431284 |
Datensatz im Suchindex
_version_ | 1804149694528487425 |
---|---|
adam_text | Contents
Chapter I Introduction to MATLAB I
I I The Advantages of MATLAB 2
1 2 Disadvantages of MATLAB 4
1 3 The MATLAB Environment 4
131 The MATLAB Desktop 4
132 The Command Window 6
133 The Command History Window 7
134 The Start Button 7
135 The Edit/Debug Window 9
136 Figure Windows 9
137 Docking and Undocking Windows 11
138 The MATLAB Workspace 11
139 The Workspace Browser 12
1 3 10 Getting Help 13
1 3 11 A Few Important Commands 15
1 3 12 The MATLAB Search Path 17
1 4 Using MATLAB as a Calculator 19
1 5 Summary 21
151 MATLAB Summary 22
1 6 Exercises 22
vii
viii
Contents
Chapter 2 MATLAB Basics
25
2 1 Variables and Arrays 25
2 2 Creating and Initializing Variables in MATLAB 29
221 Initializing Variables in Assignment Statements 29
222 Initializing with Shortcut Expressions 32
223 Initializing with Built-in Functions 33
224 Initializing Variables with Keyboard Input 33
2 3 Multidimensional Arrays 35
231 Storing Multidimensional Arrays in Memory 37
232 Accessing Multidimensional Arrays with One Dimension 37
2 4 Subarrays 39
241 The end Function 39
242 Using Subarrays on the Left-hand Side of an Assignment
Statement 40
243 Assigning a Scalar to a Subarray 41
2 5 Special Values 42
2 6 Displaying Output Data 44
261 Changing the Default Format 44
262 The disp function 46
263 Formatted output with the fprintf function 46
2 7 Data Files 48
2 8 Scalar and Array Operations 50
281 Scalar Operations 51
282 Array and Matrix Operations 51
2 9 Hierarchy of Operations 54
2 10 Built-In MATLAB Functions 57
2 10 1 Optional Results 58
2 10 2 Using MATLAB Functions with Array Inputs 58
2 10 3 Common MATLAB Functions 58
21I Introduction to Plotting 60
2 11 1 Using Simple xy Plots 61
2 11 2 Printing a Plot 62
2 11 3 Exporting a Plot as a Graphical Image 62
2 11 4 Saving a Plot in a Figure File 63
2 11 5 Multiple Plots 63
2 11 6 Line Color, Line Style, Marker Style, and Legends 64
2 12 Examples 68
2 13 MATLAB Applications:Vector Mathematics 74
2 13 1 Vector Addition and Subtraction 76
2 13 2 Vector Multiplication 77
2 14 MATLAB Applications: Matrix Operations
and Simultaneous Equations 81
2 14 1 The Matrix Inverse 82
ontents
ix
2 15 Debugging MATLAB Programs 84
2 16 Summary 86
2 16 1 Summary of Good Programming Practice 86
2 16 2 MATLAB Summary 87
2 17 Exercises 90
Chapter 3 Two-Dimensional Plots 103
3 1 Additional Plotting Features for Two-Dimensional Plots 103
311 Logarithmic Scales 104
312 Controlling x- and y-axis Plotting Limits 107
313 Plotting Multiple Plots on the Same Axes 110
314 Creating Multiple Figures 111
315 Subplots 111
316 Controlling the Spacing Between Points on a Plot 114
317 Enhanced Control of Plotted Lines 117
318 Enhanced Control of Text Strings 118
3 2 Polar Plots 121
3 3 Annotating and Saving Plots 123
3 4 Additional Types of Two-Dimensional Plots 126
3 5 Using the plot function with Two-Dimensional Arrays 131
3 6 Summary 133
361 Summary of Good Programming Practice 134
362 MATLAB Summary 134
3 7 Exercises 135
Chapter 4 Branching Statements and Program Design 139
4 1 Introduction to Top-Down Design Techniques 140
4 2 Use of Pseudocode 143
4 3 Relational and Logic Operators 144
431 Relational Operators 144
432A Caution About The == And ~= Operators 146
433 Logic Operators 147
434 Logical Functions 151
4 4 Branches 153
441 The if Construct 154
442 Examples Using if Constructs 156
443 Notes Concerning the Use of if Constructs 162
444 The switch Construct 164
445 The try/catch Construct 166
4 5 More on Debugging MATLAB Programs 173
4 6 MATLAB Applications: Roots of Polynomials 178
X
Contents
4 7 Summary 181
471 Summary of Good Programming Practice 181
472 MATLAB Summary 182
4 8 Exercises 182
Chapter 5 Loops and Vectorization 189
5 1 The while Loop 189
5 2 The for Loop 195
521 Details of Operation 202
522 Vectorization: A Faster Alternative to Loops 204
523 The MATLAB Just-In-Time (JIT) Compiler 205
524 The break and continue Statements 208
525 Nesting Loops 210
5 3 Logical Arrays and Vectorization 212
531 Creating the Equivalent of if/else Constructs with
Logical Arrays 213
5 4 The MATLAB Profiler 215
5 5 Additional Examples 217
5 6 The textread Function 232
5 7 MATLAB Applications: Statistical Functions 234
5 8 MATLAB Applications: Curve Fitting and Interpolation 237
581 General Least-Squares Fits 237
582 Cubic Spline Interpolation 244
583 Interactive Curve-Fitting Tools 250
5 9 Summary 253
591 Summary of Good Programming Practice 254
592 MATLAB Summary 254
5 10 Exercises 255
Chapter 6 Basic User-Defined Functions 267
6 1 Introduction to MATLAB Functions 269
6 2 Variable Passing in MATLAB:The Pass-By-Value Scheme 274
6 3 Optional Arguments 285
6 4 Sharing Data Using Global Memory 290
6 5 Preserving Data Between Calls to a Function 298
6 6 MATLAB Applications: Sorting Functions 303
6 7 MATLAB Applications: Random Number Functions 305
6 8 Summary 306
681 Summary of Good Programming Practice 306
682 MATLAB Summary 306
6 9 Exercises 307
ontents
XI
Chapter 7 Advanced Features of User-Defined
Functions 317
7 1 Function Functions 317
7 2 Subfunctions and Private Functions 321
721 Subfunctions 322
722 Private Functions 323
723 Order of Function Evaluation 324
7 3 Function Handles 324
731 Creating and Using Function Handles 324
7 4 Anonymous Functions 327
7 5 Recursive Functions 328
7 6 Plotting Functions 329
7 7 Histograms 332
7 8 Summary 337
781 Summary of Good Programming Practice 337
782 MATLAB Summary 337
7 9 Exercises 338
Chapter 8 Complex Numbers and 3D Plots 345
8 1 Complex Data 345
811 Complex Variables 347
812 Using Complex Numbers with Relational Operators 348
813 Complex Functions 348
814 Plotting Complex Data 354
8 2 Multidimensional Arrays 358
8 3 Three-Dimensional Plots 360
831 Three-Dimensional Line Plots 360
832 Three-Dimensional Surface, Mesh, and Contour Plots 362
833 Creating Three-Dimensional Objects using Surface and
Mesh Plots 367
8 4 Summary 370
841 Summary of Good Programming Practice 370
842 MATLAB Summary 371
8 5 Exercises 371
Chapter 9 Cell Arrays, Structures, and Importing Data 375
9 1 Cell Arrays 375
911 Creating Cell Arrays 377
912 Using Braces {} as Cell Constructors 379
913 Viewing the Contents of Cell Arrays 379
xii
Contents
914 Extending Cell Arrays 380
915 Deleting Cells in Arrays 382
916 Using Data in Cell Arrays 383
917 Cell Arrays of Strings 383
918 The Significance of Cell Arrays 384
919 Summary of cell Functions 388
9 2 Structure Arrays 388
921 Creating Structure Arrays 390
922 Adding Fields to Structures 392
923 Removing Fields from Structures 392
924 Using Data in Structure Arrays 393
925 The getfield and setfield Functions 394
926 Dynamic Field Names 395
927 Using the size Function with Structure Arrays 397
928 Nesting Structure Arrays 397
929 Summary of structure Functions 398
9 3 Importing Data into MATLAB 403
9 4 Summary 405
941 Summary of Good Programming Practice 406
942 MATFAB Summary 406
9 5 Exercises 406
Chapter 10 Handle Graphics and Animation 4M
10 1 Handle Graphics 411
10 1 1 The MATFAB Graphics System 411
10 1 2 Object Handles 413
10 1 3 Examining and Changing Object Properties 413
10 1 4 Using set to Fist Possible Property Values 420
10 1 5 Finding Objects 422
10 1 6 Selecting Objects with the Mouse 424
10 2 Position and Units 426
10 2 1 Positions of figure Objects 427
10 2 2 Positions of axes Objects 428
10 2 3 Positions of text Objects 428
10 3 Printer Positions 431
10 4 Default and Factory Properties 431
10 5 Graphics Object Properties 434
10 6 Animations and Movies 434
10 6 1 Erasing and Redrawing 434
10 6 2 Creating a Movie 439
10 7 Summary 441
10 7 1 Summary of Good Programming Practice 441
10 7 2 MATFAB Summary 442
10 8 Exercises 442
ontents
XIII
Chapter II More MÄTLAB Applications 447
11 1 Solving Systems of Simultaneous Equations 447
11 1 1 Possible Solutions of Simultaneous Equations 449
11 1 2 Determining the Existence and Uniqueness of Solutions 451
11 1 3 Well-Conditioned Versus Ill-Conditioned Systems of Equations 452
11 1 4 Solving Systems of Equations with Unique Solutions 454
11 1 5 Solving Systems of Equations with an Infinite Number of
Solutions 456
11 1 6 Solving Overdetermined Systems of Equations 460
11 2 Differences and Numerical Differentiation 463
11 3 Numerical Integration—Finding the Area Under a Curve 466
11 4 Differential Equations 472
11 4 1 Deriving Differential Equations for a System 473
11 4 2 Solving Ordinary Differential Equations in MATLAB 476
11 4 3 Applying ode45 to Solve for the Voltage in a Circuit 480
11 4 4 Solving Systems of Differential Equations 482
11 4 5 Solving Higher Order Differential Equations 486
11 4 6 Stiff Differential Equations 489
11 5 Summary 490
11 5 1 Summary of Good Programming Practice 491
11 5 2 MATLAB Summary 492
11 6 Exercises 492
Appendix A ASCII Character Set
499
Appendix B Additional MATLAB Input/Output
Functions 501
B l MATLAB File Processing 501
B 2 File Opening and Closing 503
B21 The f open Function 503
B22 The fclose Function 505
B 3 Binary I/O Functions 506
B31 The fwrite Function 506
B32 The f read Function 507
B 4 Formatted I/O Functions 510
B41 The fprintf Function 510
B42 Understanding Format Conversion Specifiers 512
B43 The fscanf Function 514
B44 The fgetl Function 516
B45 The fgets Function 516
B 5 The textscan Function 516
xiv | Contents
Appendix C Working with Character Strings 519
C I String Functions 519
C11 String Conversion Functions 520
C12 Creating Two-Dimensional Character Arrays 520
C13 Concatenating Strings 521
C14 Comparing Strings 521
C15 Searching and Replacing Characters within a String 525
C16 Uppercase and Lowercase Conversion 526
C17 Trimming Whitespace from Strings 527
C18 Numeric-to-String Conversions 527
C19 String-to-Numeric Conversions 529
C 1 10 Summary 530
C 2 Summary 536
C21 Summary of Good Programming Practice 536
C22 MATLAB Summary 537
C 3 Exercises 538
Appendix D
Answers to Quizzes
539
|
any_adam_object | 1 |
author | Chapman, Stephen J. |
author_facet | Chapman, Stephen J. |
author_role | aut |
author_sort | Chapman, Stephen J. |
author_variant | s j c sj sjc |
building | Verbundindex |
bvnumber | BV040603573 |
classification_rvk | ST 601 |
ctrlnum | (OCoLC)823231384 (DE-599)BSZ363943781 |
discipline | Informatik |
edition | 1. ed., internat. ed. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01254nam a2200349 c 4500</leader><controlfield tag="001">BV040603573</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">00000000000000.0</controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">121203s2013 d||| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780495668084</subfield><subfield code="9">978-0-495-66808-4</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0495668087</subfield><subfield code="9">0-495-66808-7</subfield></datafield><datafield tag="024" ind1="3" ind2=" "><subfield code="a">9780495668084</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)823231384</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BSZ363943781</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-573</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 601</subfield><subfield code="0">(DE-625)143682:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Chapman, Stephen J.</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">MATLAB programming with applications for engineers</subfield><subfield code="c">Stephen J. Chapman</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">1. ed., internat. ed.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">[S.l.]</subfield><subfield code="b">Cengage Learning</subfield><subfield code="c">2013</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XX, 569 S.</subfield><subfield code="b">graph. Darst.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">MATLAB</subfield><subfield code="0">(DE-588)4329066-8</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">MATLAB</subfield><subfield code="0">(DE-588)4329066-8</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HEBIS Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=025431284&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-025431284</subfield></datafield></record></collection> |
id | DE-604.BV040603573 |
illustrated | Illustrated |
indexdate | 2024-07-10T00:27:06Z |
institution | BVB |
isbn | 9780495668084 0495668087 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-025431284 |
oclc_num | 823231384 |
open_access_boolean | |
owner | DE-573 |
owner_facet | DE-573 |
physical | XX, 569 S. graph. Darst. |
publishDate | 2013 |
publishDateSearch | 2013 |
publishDateSort | 2013 |
publisher | Cengage Learning |
record_format | marc |
spelling | Chapman, Stephen J. Verfasser aut MATLAB programming with applications for engineers Stephen J. Chapman 1. ed., internat. ed. [S.l.] Cengage Learning 2013 XX, 569 S. graph. Darst. txt rdacontent n rdamedia nc rdacarrier MATLAB (DE-588)4329066-8 gnd rswk-swf MATLAB (DE-588)4329066-8 s DE-604 HEBIS Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=025431284&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Chapman, Stephen J. MATLAB programming with applications for engineers MATLAB (DE-588)4329066-8 gnd |
subject_GND | (DE-588)4329066-8 |
title | MATLAB programming with applications for engineers |
title_auth | MATLAB programming with applications for engineers |
title_exact_search | MATLAB programming with applications for engineers |
title_full | MATLAB programming with applications for engineers Stephen J. Chapman |
title_fullStr | MATLAB programming with applications for engineers Stephen J. Chapman |
title_full_unstemmed | MATLAB programming with applications for engineers Stephen J. Chapman |
title_short | MATLAB programming with applications for engineers |
title_sort | matlab programming with applications for engineers |
topic | MATLAB (DE-588)4329066-8 gnd |
topic_facet | MATLAB |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=025431284&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT chapmanstephenj matlabprogrammingwithapplicationsforengineers |