MATLAB编程(第四版

本书特色

[

本书详细讲述了利用MATLAB解决典型技术问题的方法,包括自顶向下的程序设计方法、函数的使用、MATLAB内部工具的使用和数据结构、使用技巧和常见错误等。本书将MATLAB作为一种科技程序设计语言进行介绍,帮助读者编写出简洁、高效、组织良好的程序;同时,帮助读者使用MATLAB的扩展在线帮助功能来找到所需的函数。本书注重提高利用MATLAB解决实际问题的能力,有利于为读者将来的学习与研究工作打下良好的基础。

]

内容简介

[

  《MATLAB编程(第四版 英文影印版)》详细讲述了利用MATLAB解决典型技术问题的方法,包括自顶向下的程序设计方法、函数的使用、MATLAB内部工具的使用和数据结构、使用技巧和常见错误等。该书将MATLAB作为一种科技程序设计语言进行介绍,帮助读者编写出简洁、高效、组织良好的程序;同时,帮助读者使用MATLAB的扩展在线帮助功能来找到所需的函数。该书注重提高利用MATLAB解决实际问题的能力,有利于为读者将来的学习与研究工作打下良好的基础。  《MATLAB编程(第四版 英文影印版)》可作为工科各专业本科生的教学用书,也可作为工程技术人员的参考书。

]

目录

CHAPTER 1 Introduction to MATLAB1.1 The Advantages of MATLAB1.2 Disadvantages of MATLAB1.3 The MATLAB Environment1.3.1 The MATLAB Desktop1.3.2 The Command Window1.3.3 The Command History Window1.3.4 The Start Button1.3.5 The Edit/Debug Window1.3.6 Figure Windows1.3.7 Docking and Undocking Windows1.3.8 The MATLAB Workspace1.3.9 The Workspace Browser1.3.10 Getting Help1.3.11 A Few Important Commands1.3.12 The MATLAB Search Path1.4 Using MATLAB as a Scratch Pad1.5 Summary1.5.1 MATLAB Summary1.6 ExercisesCHAPTER 2 MATLAB Basics2.1 Variables and Arrays2.2 Creating and Initializing Variables in MATLAB2.2.1 Initializing Variables in Assignment Statements2.2.2 Initializing with Shortcut Expressions2.2.3 Initializing with Built—In Functions2.2.4 Initializing Variables with Keyboard Input2.3 Multidimensional Arrays2.3.1 Storing Multidimensional Arrays in Memory2.3.2 Accessing Multidimensional Arrays with One Dimension2.4 Subarrays2.4.1 The end Function2.4.2 Using Subarrays on the Left—Hand Side of an Assignment Statement2.4.3 Assigning a Scalar to a Subarray2.5 Special Values2.6 Displaying Output Data2.6.1 Changing the Default Format2.6.2 The disp function2.6.3 Formatted Output with the fprintf Function2.7 Data Files2.8 Scalar and Array Operations2.8.1 Scalar Operations2.8.2 Array and Matrix Operations2.9 Hierarchy of Operations2.10 Built—in MATLAB Functions2.10.1 Optional Results2.10.2 Using MATLAB Functions with Array Inputs2.10.3 Common MATLAB Functions2.11 Introduction to Plotting2.11.1 Using Simplexy Plots2.11.2 Printing a Plot2.11.3 Exporting a Plot as a Graphical Image2.11.4 Multiple Plots2.11.5 Line Color, Line Style, Marker Style, and Legends2.11.6 Logarithmic Scales2.12 Examples2.13 Debugging MATLAB Programs2.14 Summary2.14.1 Summary of Good Programming Practice2.14.2 MATLAB Summary2.15 ExercisesCHAPTER 3 Branching Statements and Program Design3.1 Introduction to Top—Down Design Techniques3.2 Use of Pseudocode3.3 The Logical Data Type3.3.1 Relational Operators3.3.2 A Caution About the == and ~= Operators3.3.3 Logic Operators3.3.4 Logical Functions3.4 Branches3.4.1 The if Construct3.4.2 Examples Using if Constructs3.4.3 Notes Concerning the Use of if Constructs3.4.4 The switch Construct3.4.5 The try/catch Construct3.5 Additional Plotting Features3.5.1 Controlling x— and y—Axis Plotting Limits3.5.2 Plotting Multiple Plots on the Same Axes3.5.3 Creating Multiple Figures3.5.4 Subplots3.5.5 Enhanced Control of Plotted Lines3.5.6 Enhanced Control of Text Strings3.5.7 Polar Plots3.5.8 Annotating and Saving Plots3.6 More on Debugging MATLAB Programs3.7 Summary3.7.1 Summary of Good Programming Practice3.7.2 MATLAB Summary3.8 ExercisesCHAPTER 4 Loops4.1 The while Loop4.2 The for Loop4.2.1 Details of Operation4.2.2 The MATLAB Just—in Time (JIT) Compiler4.2.3 The break and continue Statements4.2.4 Nesting Loops4.3 Logical Arrays and Vectorization4.3.1 Creating the Equivalent of if/else Constructs with Logical Arrays4.4 The MATLAB Profiler4.5 Additional Examples4.6 Summary4.6.1 Summary of Good Programming Practice4.6.2 MATLAB Summary4.7 ExercisesCHAPTER 5 User-Defined Functions5.1 Introduction to MATLAB Functions5.2 Variable Passing in MATLAB: The Pass—by—Value Scheme5.3 Optional Arguments5.4 Sharing Data Using Global Memory5.5 Preserving Data between Calls to a Function5.6 Function Functions5.7 Subfunctions, Private Functions, and Nested Functions5.7.1 Subfunctions5.7.2 PtivateFunctions5.7.3 Nested Functions5.7.4 Order of Function Evaluation5.8 Summary5.8.1 Summary of Good Programming Practice5.8.2 MATLAB Summary5.9 Exercises……CHAPTER 6 Additional Data Types and Plot TypesCHAPTER 7 Advanced Features: Sparse Arrays, Cell Arrays,Structures, and Function HandlesCHAPTER 8 Input/Output FunctionsCHAPTER 9 Handle Graphics

封面

MATLAB编程(第四版

书名:MATLAB编程(第四版

作者:Stephen

页数:376

定价:¥88.0

出版社:科学出版社

出版日期:2019-01-01

ISBN:9787030305428

PDF电子书大小:105MB 高清扫描完整版

百度云下载:http://www.chendianrong.com/pdf

发表评论

邮箱地址不会被公开。 必填项已用*标注