图书介绍
MATLAB编程 英文PDF|Epub|txt|kindle电子书版本下载
- (美)Stephen J. Chapman著 著
- 出版社: 北京:科学出版社
- ISBN:7030111397
- 出版时间:2003
- 标注页数:478页
- 文件大小:54MB
- 文件页数:498页
- 主题词:计算机辅助计算-软件包,MATLAB-程序设计-高等学校-教材-英文
PDF下载
下载说明
MATLAB编程 英文PDF格式电子书版下载
下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!
(文件页数 要大于 标注页数,上中下等多册电子书除外)
注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具
图书目录
1 Introduction to MATLAB1
1.1 TheAdvantages of MATLAB1
1.2 Disadvantages of MATLAB3
1.3 The MATLAB Environment3
1.3.1 The MATLAB Desktop4
1.3.2 The Command Window4
1.3.3 The Command History Window7
1.3.4 The Launch Pad7
1.3.5 The Edit/Debug Window8
1.3.6 Figure Windows9
1.3.7 The MATLAB Workspace10
1.3.8 The Workspace Browser11
1.3.9 Getting Help13
1.3.10 A Few Important Commands14
1.3.11 The MATLAB Search Path15
1.4 Using MATLAB as a Srcratchpad16
1.5 Summary18
1.5.1 MATLAB Summary19
1.6 Exercises19
2 MATLAB Basics21
2.1 Variables andArrays21
2.2 Initializing Variables in MATLAB24
2.2.1 Initializing Variables in Assignment Statements25
2.2.2 Initializing with Shortcut Expressions27
2.2.3 Initializing with Built-in Functions28
2.2.4 Initializing Variables with Keyboard Input29
2.3 Multidimensional Arrays31
2.3.1 Storing Multidimensional Arrays in Memory32
2.3.2 Accessing Multidimensional Arrays with a Single Subscript32
2.4 Subarrays34
2.4.1 The end Function34
2.4.2 Using Subarrays on the LeR-Hand Side of an Assignment Statement35
2.4.3 Assigning a Scalar to a Subarray36
2.5 Special Values37
2.6 Displaying Output Data39
2.6.1 Changing the Default Format39
2.6.2 The disp Function40
2.6.3 Formatted Output with the fprintf Function40
2.7 Data Files42
2.8 Scalar and Array Operations44
2.8.1 Scalar Operations45
2.8.2 Array and Matrix Operations45
2.9 Hierarchy of Operations48
2.10 Built-in MATLAB Functions51
2.10.1 Optional Results51
2.10.2 Using MATLAB Functions with Array Inputs52
2.10.3 Common MATLAB Functions52
2.11 Introduction to Plotting52
2.11.1 Using Simple xy Plots54
2.11.2 Printing a Plot55
2.11.3 Multiple Plots56
2.11.4 Line Color,Line Style,Marker Style,and Legends56
2.11.5 Logarithmic Scales58
2.12 Examples59
2.13 Debugging MATLAB Programs67
2.14 Summary69
2.14.1 Summary ofGood Programming Practice69
2.14.2 MATLAB Summary70
2.15 Exercises73
3 Branching Statements and Program Design81
3.1 Introduction to Top-Down Design Techniques81
3.2 Use of Pseudocode86
3.3 Relational and Logical Operators87
3.3.1 Relational Operators87
3.3.2 A Caution about the==and~=Operators89
3.3.3 Logic Operators90
3.3.4 Logical Functions92
3.4 Branches94
3.4.1 The if Construct94
3.4.2 Examples Using if Constructs96
3.4.3 Notes Concerning the Use of if Constructs102
3.4.4 The switch Construct104
3.4.5 The try/catch Construct106
3.5 Additional Plotting Features108
3.5.1 Controlling x-and y-axis Plotting Limits108
3.5.2 Plotting Multiple Plots on the Same Axes111
3.5.3 Creating Multiple Figures111
3.5.4 Subplots112
3.5.5 Enhanced Control ofPlotted Lines114
3.5.6 Enhanced Control ofText Strings115
3.5.7 Polar Plots115
3.5.8 Annotating and Saving Plots123
3.6 More on Debugging MATLAB Programs125
3.7 Summary128
3.7.1 Summary of Good Programming Practice129
3.7.2 MATLAB Summary129
3.8 Exercises130
4 Loops137
4.1 Thewhile Loop137
4.2 The for Loop143
4.2.1 Details of Operation150
4.2.2 The break and continue Statements154
4.2.3 Nesting Loops156
4.3 Logical Arrays andVectorization157
4.3.1 The Significance of Logical Arrays158
4.3.2 Creating the Equivalent of if/else Constructs with Logical Arrays161
4.4 Additional Examples163
4.5 Summary178
4.5.1 Summary of Good Programming Practice178
4.5.2 MATLAB Summary179
4.6 Exercises179
5 User-Defined Functions187
5.1 Introduction to MATLAB Functions189
5.2 Variable Passing in MATLAB:The Pass-By-Value Scheme194
5.3 Optional Arguments204
5.4 Sharing Data Using Global Memory209
5.5 Preserving Data Between Calls to a Function217
5.6 Function Functions222
5.7 Subfunctions and Private Functions225
5.8 Summary227
5.8.1 Summary of Good Programming Practice228
5.8.2 MATLAB Summary229
5.9 Exercises229
6 Complex Data,Character Data,and Additional Plot Types241
6.1 Complex Data241
6.1.1 Complex Variables243
6.1.2 Using Complex Numbers with Relational Operators244
6.1.3 Complex Functions244
6.1.4 Plotting Complex Data248
6.2 String Functions252
6.2.1 String Conversion Functions252
6.2.2 Creating Two-Dimensional Character Arrays252
6.2.3 Concatenating Strings253
6.2.4 Comparing Strings254
6.2.5 Searching/Replacing Characters within a String256
6.2.6 Uppercase and Lowercase Conversion257
6.2.7 Numeric-to-String Conversions258
6.2.8 String-to-Numeric Conversions259
6.2.9 Summary260
6.3 MultidimensionaI Arrays266
6.4 Additional Two-DimensionaI Plots268
6.4.1 Additional Types of Two-Dimensional Plots268
6.4.2 Plotting Functions273
6.4.3 Histograms274
6.5 Three-Dimensional Plots276
6.5.1 Three-Dimensional Line Plots276
6.5.2 Three-Dimensional Surface,Mesh,and Contour Plots278
6.6 Summary281
6.6.1 Summary of Good Programming Practice281
6.6.2 MATLAB Summary282
6.7 Exercises283
7 Sparse Arrays,Cell Arrays,and Structures287
7.1 SparseArrays287
7.1.1 The sparse Data Type289
7.2 CellArrays294
7.2.1 Creating Cell Arrays296
7.2.2 Using Braces{}as Cell Constructors297
7.2.3 Viewing the Contents of Cell Arrays298
7.2.4 Extending Cell Arrays298
7.2.5 Deleting Cells in Arrays300
7.2.6 Using Data in Cell Arrays300
7.2.7 Cell Arrays of Strings301
7.2.8 The Significance of Cell Arrays302
7.2.9 Summary of cell Array Functions305
7.3 Structure Arrays306
7.3.1 Creating Structures306
7.3.2 Adding Fields to Structures308
7.3.3 Removing Fields from Structures309
7.3.4 Using Data in Structure Arrays310
7.3.5 The getfield and setfield Functions311
7.3.6 Using the size Function with Structure Arrays312
7.3.7 Nesting Structure Arrays312
7.3.8 Summary of structure Functions313
7.4 Summary314
7.4.1 Summary of Good Programming Practice315
7.4.2 MATLAB Summary315
7.5 Exercises316
8 Input/Output Functions319
8.1 The textread Function319
8.2 More about the load and save Commands321
8.3 An Introduction to MATLAB File Processing323
8.4 File Opening and Closing325
8.4.1 The fopen Function325
8.4.2 The fc lose Function328
8.5 Binary I/O Functions328
8.5.1 The fwri te Function328
8.5.2 The fread Function329
8.6 Formatted I/O Functions332
8.6.1 The fprint Function332
8.6.2 Understanding Format Conversion Specifiers334
8.6.3 How Format Strings Are Used336
8.6.4 The fscanf Function339
8.6.5 The fgetl Function341
8.6.6 The fgets Function341
8.7 Comparing Formatted and Binary I/O Functions342
8.8 File Positioning and Status Functions347
8.8.1 The exist Function347
8.8.2 The ferror Function349
8.8.3 The feof Function350
8.8.4 The ftell Function350
8.8.5 The frewind Function350
8.8.6 The fseek Function350
8.9 Function uiimport356
8.10 Summary358
8.10.1 Summary of Good Programming Practice359
8.10.2 MATLAB Summary359
8.11 Exercises360
9 Handle Graphics363
9.1 The MATLAB Graphics System363
9.2 Object Handles365
9.3 Examining and Changing Object Properties365
9.3.1 Changing Object Properties at Creation Time365
9.3.2 Changing Obiect Properties after Creation Time366
9.4 Using set to List Possible Property Values372
9.5 User-Defined Date374
9.6 Finding Objects375
9.7 Selecting Objects with the Mouse377
9.8 Position and Units380
9.7.1 Positions of figure Objects380
9.7.2 Positions of axes and uicontrol Obiects381
9.7.3 Positions of text Obiects381
9.9 Printer Positions384
9.10 Default and Factory Properties385
9.11 Graphics Obiect Properties387
9.12 Summary387
9.12.1 Summary of Good Programming Practice388
9.12.2 MATLAB Summary388
9.13 Exercises387
10 Graphical User Interfaces391
10.1 How a Graphical User InterfaceWorks391
10.2 Creating and Displaying a Graphical User Interface392
10.2.1 A Look Under the Hood402
10.2.2 The Structure of a Callback Subfunction404
10.2.3 Adding Application Data to a Figure405
10.2.4 A Few Useful Functions406
10.3 Obiect Properties406
10.4 GraphicaI User Interface Components407
10.4.1 Text Fields409
10.4.2 Edit Boxes409
10.4.3 Frames409
10.4.4 Pushbuttons409
10.4.5 Toggle Buttons411
10.4.6 Checkboxes and Radio Buttons411
10.4.7 Popup Menus414
10.4.8 List Boxes414
10.4.9 Sliders417
10.5 Dialog Boxes422
10.5.1 Error and Warning Dialog Boxes423
10.5.2 Input Dialog Boxes423
10.5.3 The uigetfile and uisetfile Dialog Boxes424
10.6 Menus425
10.6.1 Suppressing the Default Menu425
10.6.2 Creating Your Own Menus427
10.6.3 Accelerator Keys and Keyboard Mnemonics430
10.6.4 Creating Context Menus430
10.7 Tips for Creating Efficient GUIs436
10.7.1 Tool Tips436
10.7.2 Pcode437
10.7.3 Additional Enhancements439
10.8 Summary443
10.8.1 Summary of Good Programming Practice445
10.8.2 MATLAB Summary445
10.9 Exercises446
Appendix A ASCII Character Set449
Append ix B Answers to Quizzes451
Index465