图书介绍

MATLAB编程 原书第4版PDF|Epub|txt|kindle电子书版本网盘下载

MATLAB编程 原书第4版
  • StephenJ.Chapman编著 著
  • 出版社: 北京市:科学出版社
  • ISBN:9787030305428
  • 出版时间:2011
  • 标注页数:376页
  • 文件大小:63MB
  • 文件页数:392页
  • 主题词:计算机辅助计算-软件包,MATLAB-程序设计-英文

PDF下载


点此进入-本书在线PDF格式电子书下载【推荐-云解压-方便快捷】直接下载PDF格式图书。移动端-PC端通用
种子下载[BT下载速度快]温馨提示:(请使用BT下载软件FDM进行下载)软件下载地址页直链下载[便捷但速度慢]  [在线试读本书]   [在线获取解压码]

下载说明

MATLAB编程 原书第4版PDF格式电子书版下载

下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。

建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!

(文件页数 要大于 标注页数,上中下等多册电子书除外)

注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具

图书目录

CHAPTER 1 Introduction to MATLAB1

1.1 The Advantages of MATLAB1

1.2 Disadvantages of MATLAB3

1.3 The MATLAB Environment3

1.3.1 The MATLAB Desktop4

1.3.2 The Command Window5

1.3.3 The Command History Window6

1.3.4 The Start Button6

1.3.5 The Edit/Debug Window7

1.3.6 Figure Windows8

1.3.7 Docking and Undocking Windows9

1.3.8 The MATLAB Workspace10

1.3.9 The Workspace Browser10

1.3.10 Getting Help11

1.3.11 A Few Important Commands13

1.3.12 The MATLAB Search Path14

1.4 Using MATLAB as a Scratch Pad15

1.5 Summary17

1.5.1 MATLAB Summary17

1.6 Exercises17

CHAPTER 2 MATLAB Basics19

2.1 Variables and Arrays19

2.2 Creating and Initializing Variables in MATLAB22

2.2.1 Initializing Variables in Assignment Statements22

2.2.2 Initializing with Shortcut Expressions25

2.2.3 Initializing with Built-In Functions26

2.2.4 Initializing Variables with Keyboard Input26

2.3 Multidimensional Arrays28

2.3.1 Storing Multidimensional Arrays in Memory29

2.3.2 Accessing Multidimensional Arrays with One Dimension30

2.4 Subarrays30

2.4.1 The end Function31

2.4.2 Using Subarrays on the Left-Hand Side of an Assignment Statement31

2.4.3 Assigning a Scalar to a Subarray32

2.5 Special Values33

2.6 Displaying Output Data35

2.6.1 Changing the Default Format35

2.6.2 The disp function36

2.6.3 Formatted Output with the fprintf Function36

2.7 Data Files38

2.8 Scalar and Array Operations41

2.8.1 Scalar Operations41

2.8.2 Array and Matrix Operations41

2.9 Hierarchy of Operations44

2.10 Built-in MATLAB Functions47

2.10.1 Optional Results47

2.10.2 Using MATLAB Functions with Array Inputs47

2.10.3 Common MATLAB Functions47

2.11 Introduction to Plotting48

2.11.1 Using Simple xy Plots49

2.11.2 Printing a Plot50

2.11.3 Exporting a Plot as a Graphical Image50

2.11.4 Multiple Plots51

2.11.5 Line Color,Line Style,Marker Style,and Legends52

2.11.6 Logarithmic Scales55

2.12 Examples56

2.13 Debugging MATLAB Programs62

2.14 Summary64

2.14.1 Summary of Good Programming Practice64

2.14.2 MATLAB Summary65

2.15 Exercises67

CHAPTER 3 Branching Statements and Program Design74

3.1 Introduction to Top-Down Design Techniques74

3.2 Use of Pseudocode79

3.3 The Logical Data Type80

3.3.1 Relational Operators80

3.3.2 A Caution About the==and~=Operators82

3.3.3 Logic Operators83

3.3.4 Logical Functions87

3.4 Branches89

3.4.1 The if Construct89

3.4.2 Examples Using if Constructs91

3.4.3 Notes Concerning the Use of if Constructs96

3.4.4 The switch Construct98

3.4.5 The try/catch Construct99

3.5 Additional Plotting Features101

3.5.1 Controlling x-and y-Axis Plotting Limits101

3.5.2 Plotting Multiple Plots on the Same Axes103

3.5.3 Creating Multiple Figures104

3.5.4 Subplots104

3.5.5 Enhanced Control of Plotted Lines106

3.5.6 Enhanced Control of Text Strings106

3.5.7 Polar Plots108

3.5.8 Annotating and Saving Plots113

3.6 More on Debugging MATLAB Programs116

3.7 Summary119

3.7.1 Summary of Good Programming Practice120

3.7.2 MATLAB Summary120

3.8 Exercises121

CHAPTER 4 Loops126

4.1 The while Loop126

4.2 The for Loop131

4.2.1 Details of Operation137

4.2.2 The MATLAB Just-in-Time(JIT)Compiler139

4.2.3 The break and continue Statements143

4.2.4 Nesting Loops145

4.3 Logical Arrays and Vectorization146

4.3.1 Creating the Equivalent of if/else Constructs with Logical Arrays147

4.4 The MATLAB Profiler149

4.5 Additional Examples151

4.6 Summary163

4.6.1 Summary of Good Programming Practice164

4.6.2 MATLAB Summary164

4.7 Exercises164

CHAPTER 5 User-Defined Functions172

5.1 Introduction to MATLAB Functions173

5.2 Variable Passing in MATLAB:The Pass-by-Value Scheme177

5.3 Optional Arguments187

5.4 Sharing Data Using Global Memory192

5.5 Preserving Data between Calls to a Function198

5.6 Function Functions203

5.7 Subfunctions,Private Functions,and Nested Functions206

5.7.1 Subfunctions207

5.7.2 Private Functions208

5.7.3 Nested Functions209

5.7.4 Order of Function Evaluation211

5.8 Summary211

5.8.1 Summary of Good Programming Practice212

5.8.2 MATLAB Summary212

5.9 Exercises213

CHAPTER 6 Additional Data Types and Plot Types225

6.1 Complex Data226

6.1.1 Complex Variables227

6.1.2 Using Complex Numbers with Relational Operators227

6.1.3 Complex Functions228

6.1.4 Plotting Complex Data231

6.2 String Functions234

6.2.1 String Conversion Functions234

6.2.2 Creating Two-Dimensional Character Arrays234

6.2.3 Concatenating Strings235

6.2.4 Comparing Strings235

6.2.5 Searching and Replacing Characters Within a String239

6.2.6 Uppercase and Lowercase Conversion240

6.2.7 Trimming Whitespace from Strings240

6.2.8 Numeric-to-String Conversions241

6.2.9 String-to-Numeric Conversions242

6.2.10 Summary243

6.3 Multidimensional Arrays248

6.4 Additional Data Types250

6.4.1 The single Data Type250

6.4.2 Integer Data Types251

6.4.3 Limitations of the single and Integer Data Types253

6.5 Additional Two-Dimensional Plots253

6.5.1 Additional Types of Two-Dimensional Plots253

6.5.2 Plotting Functions256

6.5.3 Histograms257

6.6 Three-Dimensional Plots258

6.6.1 Three-Dimensional Line Plots258

6.6.2 Three-Dimensional Surface,Mesh,and Contour Plots260

6.7 Summary262

6.7.1 Summary of Good Programming Practice263

6.7.2 MATLAB Summary263

6.8 Exercises264

CHAPTER 7 Advanced Features:Sparse Arrays,Cell Arrays,Structures,and Function Handles268

7.1 Sparse Arrays268

7.1.1 The sparse Attribute270

7.2 Cell Arrays274

7.2.1 Creating Cell Arrays276

7.2.2 Using Braces{}as Cell Constructors277

7.2.3 Viewing the Contents of Cell Arrays277

7.2.4 Extending Cell Arrays278

7.2.5 Deleting Cells in Arrays280

7.2.6 Using Data in Cell Arrays280

7.2.7 Cell Arrays ofStrings281

7.2.8 The Significance of Cell Arrays282

7.2.9 Summary of cell Functions285

7.3 Structure Arrays285

7.3.1 Creating Structure Arrays286

7.3.2 Adding Fields to Structures288

7.3.3 Removing Fields from Structures289

7.3.4 Using Data in Structure Arrays289

7.3.5 The getfield and setfield Functions290

7.3.6 Dynamic Field Names291

7.3.7 Using the size Function with Structure Arrays292

7.3.8 Nesting Structure Arrays292

7.3.9 Summary of structure Functions293

7.4 Function Handles293

7.4.1 Creating and Using Function Handles293

7.4.2 The Significance of Function Handles296

7.4.3 Function Handles and Nested Functions297

7.4.4 An Example Application:Solving Ordinary Differential Equations298

7.5 Summary305

7.5.1 Summary of Good Programming Practice305

7.5.2 MATLAB Summary305

7.6 Exercises306

CHAPTER 8 Input/Output Functions311

8.1 The textread Function311

8.2 More about the load and save Commands312

8.3 An Introduction to MATLAB File Processing315

8.4 File Opening and Closing316

8.4.1 The fopen Function316

8.4.2 The fclose Function319

8.5 Binary I/O Functions319

8.5.1 The fwrite Function319

8.5.2 The fread Function320

8.6 Formatted I/O Functions323

8.6.1 The fprintf Function323

8.6.2 Understanding Format Conversion Specifiers325

8.6.3 How Format Strings Are Used326

8.6.4 The sprintf Function328

8.6.5 The fscanf Function329

8.6.6 The fgetl Function331

8.6.7 The fgets Function331

8.7 Comparing Formatted and Binary I/O Functions331

8.8 File Positioning and Status Functions336

8.8.1 The exist Function336

8.8.2 The ferror Function339

8.8.3 The feof Function339

8.8.4 The ftell Function339

8.8.5 The frewind Function339

8.8.6 The fseek Function339

8.9 The textscan Function345

8.10 Function uiimport347

8.11 Summary348

8.11.1 Summary of Good Programming Practice349

8.11.2 MATLAB Summary350

8.12 Exercises350

CHAPTER 9 Handle Graphics353

9.1 The MATLAB Graphics System353

9.2 Object Handles354

9.3 Examining and Changing Object Properties355

9.3.1 Changing Object Properties at Creation Time355

9.3.2 Changing Object Properties after Creation Time355

9.4 Using set to List Possible Property Values361

9.5 User-Deftned Data362

9.6 Finding Objects363

9.7 Selecting Objects with the Mouse365

9.8 Position and Units367

9.8.1 Positions of figure Objects367

9.8.2 Positions of axes and uicontrol Objects368

9.8.3 Positions of t ext Objects368

9.9 Printer Positions371

9.10 Default and Factory Properties372

9.11 Graphics Object Properties373

9.12 Summary374

9.12.1 Summary of Good Programming Practice374

9.12.2 MATLAB Summary375

9.13 Exercises375

热门推荐