MATLAB編程

出版時(shí)間:2011-4  出版社:科學(xué)出版社  作者:查普曼  頁(yè)數(shù):392  
Tag標(biāo)簽:無(wú)  

內(nèi)容概要

本書(shū)詳細(xì)講述了利用MATLAB解決典型技術(shù)問(wèn)題的方法,包括自頂向下的程序設(shè)計(jì)方法、函數(shù)的使用、MATLAB內(nèi)部工具的使用和數(shù)據(jù)結(jié)構(gòu)、使用技巧和常見(jiàn)錯(cuò)誤等。作者將MATLAB作為一種科技程序設(shè)計(jì)語(yǔ)言進(jìn)行介紹,幫助讀者編寫(xiě)出簡(jiǎn)潔、高效、組織良好的程序;同時(shí),幫助讀者使用MATLAB的擴(kuò)展在線幫助功能來(lái)找到所需的函數(shù)。本書(shū)注重提高讀者利用MATLAB解決實(shí)際問(wèn)題的能力,為將來(lái)的學(xué)習(xí)與研究工作打下良好的基礎(chǔ)。
本書(shū)可作為工科各專業(yè)本科生的教學(xué)用書(shū),也可作為工程技術(shù)人員的參考書(shū)。

作者簡(jiǎn)介

作者:(美國(guó))查普曼

書(shū)籍目錄

CHAPTER 1 Introduction to MATLAB
1.1 The Advantages of MATLAB
1.2 Disadvantages of MATLAB
1.3 The MATLAB Environment
1.3.1 The MATLAB
Desktop
1.3.2 The Command
Window
1.3.3 The Command
History Window
1.3.4 The Start
Button
1.3.5 The Edit/Debug
Window
1.3.6 Figure
Windows
1.3.7 Docking and
Undocking Windows
1.3.8 The MATLAB
Workspace
1.3.9 The Workspace
Browser
1.3.10 Getting
Help
1.3.11 A Few Important
Commands
1.3.12 The MATLAB Search
Path
1.4 Using MATLAB as a Scratch Pad
1.5 Summary
1.5.1 MATLAB
Summary
1.6 Exercises
CHAPTER 2 MATLAB Basics
2.1 Variables and Arrays
2.2 Creating and Initializing Variables in
MATLAB
2.2.1 Initializing
Variables in Assignment Statements
2.2.2 Initializing with
Shortcut Expressions
2.2.3 Initializing with
Built-In Functions
2.2.4 Initializing
Variables with Keyboard Input
2.3 Multidimensional Arrays
2.3.1 Storing
Multidimensional Arrays in Memory
2.3.2 Accessing
Multidimensional Arrays with One Dimension
2.4 Subarrays
2.4.1 The end
Function
2.4.2 Using Subarrays on
the Left-Hand Side of an Assignment Statement
2.4.3 Assigning a Scalar
to a Subarray
2.5 Special Values
2.6 Displaying Output Data
2.6.1 Changing the
Default Format
2.6.2 The disp
function
2.6.3 Formatted Output
with the fprintf Function
2.7 Data Files
2.8 Scalar and Array Operations
2.8.1 Scalar
Operations
2.8.2 Array and Matrix
Operations
2.9 Hierarchy of Operations
2.10 Built-in MATLAB Functions
2.10.1 Optional
Results
2.10.2 Using MATLAB
Functions with Array Inputs
2.10.3 Common MATLAB
Functions
2.11 Introduction to Plotting
2.11.1 Using Simple xy
Plots
2.11.2 Printing a
Plot
2.11.3 Exporting a Plot
as a Graphical Image
2.11.4 Multiple
Plots
2.11.5 Line Color,Line
Style,Marker Style,and Legends
2.11.6 Logarithmic
Scales
2.12 Examples
2.13 Debugging MATLAB Programs
2.14 Summary
2.14.1 Summary of Good
Programming Practice
2.14.2 MATLAB
Summary
2.15 Exercises
CHAPTER 3 Branching Statements and Program Design
3.1 Introduction to Top-Down Design
Techniques
3.2 Use of Pseudocode
3.3 The Logical Data Type
3.3.1 Relational
Operators
3.3.2 A Caution About
the == and ~= Operators
3.3.3 Logic
Operators
3.3.4 Logical
Functions
3.4 Branches
3.4.1 The if
Construct
3.4.2 Examples Using if
Constructs
3.4.3 Notes Concerning
the Use of if Constructs
3.4.4 The switch
Construct
3.4.5 The try/catch
Construct
3.5 Additional Plotting Features
3.5.1 Controlling x-and
y-Axis Plotting Limits
3.5.2 Plotting Multiple
Plots on the Same Axes
3.5.3 Creating Multiple
Figures
3.5.4 Subplots
3.5.5 Enhanced Control
of Plotted Lines
3.5.6 Enhanced Control
of Text Strings
3.5.7 Polar Plots
3.5.8 Annotating and
Saving Plots
3.6 More on Debugging MATLAB Programs
3.7 Summary
3.7.1 Summary of Good
Programming Practice
3.7.2 MATLAB
Summary
3.8 Exercises
CHAPTER 4 Loops
4.1 The while Loop
4.2 The for Loop
4.2.1 Details of
Operation
4.2.2 The MATLAB
Just-in-Time (JIT) Compiler
4.2.3 The break and
continue Statements
4.2.4 Nesting
Loops
4.3 Logical Arrays and Vectorization
4.3.1 Creating the
Equivalent of if/else Constructs with Logical Arrays
4.4 The MATLAB Profiler
4.5 Additional Examples
4.6 Summary
4.6.1 Summary of Good
Programming Practice
4.6.2 MATLAB
Summary
4.7 Exercises
CHAPTER 5 User-Defined Functions
5.1 Introduction to MATLAB Functions
5.2 Variable Passing in MATLAB:The Pass-by-Value
Scheme
5.3 Optional Arguments
5.4 Sharing Data Using Global Memory
5.5 Preserving Data between Calls to a
Function
5.6 Function Functions
5.7 Subfunctions,Private Functions,and Nested
Functions
5.7.1 Subfunctions
5.7.2 Private
Functions
5.7.3 Nested
Functions
5.7.4 Order of Function
Evaluation
5.8 Summary
5.8.1 Summary of Good
Programming Practice
5.8.2 MATLAB
Summary
5.9 Exercises
CHAPTER 6 Additional Data Types and Plot Types
6.1 Complex Data
6.1.1 Complex
Variables
6.1.2 Using Complex
Numbers with Relational Operators
6.1.3 Complex
Functions
6.1.4 Plotting Complex
Data
6.2 String Functions
6.2.1 String Conversion
Functions
6.2.2 Creating
Two-Dimensional Character Arrays
6.2.3 Concatenating
Strings
6.2.4 Comparing
Strings
6.2.5 Searching and
Replacing Characters Within a String
6.2.6 Uppercase and
Lowercase Conversion
6.2.7 Trimming
Whitespace from Strings
6.2.8 Numeric-to-String
Conversions
6.2.9 String-to-Numeric
Conversions
6.2.10 Summary
6.3 Multidimensional Arrays
6.4 Additional Data Types
6.4.1 The single Data
Type
6.4.2 Integer Data
Types
6.4.3 Limitations of the
single and Integer Data Types
6.5 Additional Two-Dimensional Plots
6.5.1 Additional Types
of Two-Dimensional Plots
6.5.2 Plotting
Functions
6.5.3 Histograms
6.6 Three-Dimensional Plots
6.6.1 Three-Dimensional
Line Plots
6.6.2 Three-Dimensional
Surface,Mesh,and Contour Plots
6.7 Summary
6.7.1 Summary of Good
Programming Practice
6.7.2 MATLAB
Summary
6.8 Exercises
CHAPTER 7 Advanced Features: Sparse Arrays,Cell
Arrays,Structures,and Function Handles
7.1 Sparse Arrays
7.1.1 The sparse
Attribute
7.2 Cell Arrays
7.2.1 Creating Cell
Arrays
7.2.2 Using Braces {} as
Cell Constructors
7.2.3 Viewing the
Contents of Cell Arrays
7.2.4 Extending Cell
Arrays
7.2.5 Deleting Cells in
Arrays
7.2.6 Using Data in Cell
Arrays
7.2.7 Cell Arrays of
Strings
7.2.8 The Significance
of Cell Arrays
7.2.9 Summary of cell
Functions
7.3 Structure Arrays
7.3.1 Creating Structure
Arrays
7.3.2 Adding Fields to
Structures
7.3.3 Removing Fields
from Structures
7.3.4 Using Data in
Structure Arrays
7.3.5 The getfield and
setfield Functions
7.3.6 Dynamic Field
Names
7.3.7 Using the size
Function with Structure Arrays
7.3.8 Nesting Structure
Arrays
7.3.9 Summary of
structure Functions
7.4 Function Handles
7.4.1 Creating and Using
Function Handles
7.4.2 The Significance
of Function Handles
7.4.3 Function Handles
and Nested Functions
7.4.4 An Example
Application: Solving Ordinary Differential Equations
7.5 Summary
7.5.1 Summary of Good
Programming Practice
7.5.2 MATLAB
Summary
7.6 Exercises
CHAPTER 8 Input/Output Functions
8.1 The textread Function
8.2 More about the load and save Commands
8.3 An Introduction to MATLAB File
Processing
8.4 File Opening and Closing
8.4.1 The fopen
Function
8.4.2 The fclose
Function
8.5 Binary I/O Functions
8.5.1 The fwrite
Function
8.5.2 The fread
Function
8.6 Formatted I/O Functions
8.6.1 The fprintf
Function
8.6.2 Understanding
Format Conversion Specifiers
8.6.3 How Format Strings
Are Used
8.6.4 The sprintf
Function
8.6.5 The fscanf
Function
8.6.6 The fgetl
Function
8.6.7 The fgets
Function
8.7 Comparing Formatted and Binary I/O
Functions
8.8 File Positioning and Status Functions
8.8.1 The exist
Function
8.8.2 The ferror
Function
8.8.3 The feof
Function
8.8.4 The ftell
Function
8.8.5 The frewind
Function
8.8.6 The fseek
Function
8.9 The textscan Function
8.10 Function uiimport
8.11 Summary
8.11.1 Summary of Good
Programming Practice
8.11.2 MATLAB
Summary
8.12 Exercises
CHAPTER 9 Handle Graphics
9.1 The MATLAB Graphics System
9.2 Object Handles
9.3 Examining and Changing Object
Properties
9.3.1 Changing Object
Properties at Creation Time
9.3.2 Changing Object
Properties after Creation Time
9.4 Using set to List Possible Property
Values
9.5 User-Defined Data
9.6 Finding Objects
9.7 Selecting Objects with the Mouse
9.8 Position and Units
9.8.1 Positions of
figure Objects
9.8.2 Positions of axes
and uicontrol Objects
9.8.3 Positions of text
Objects
9.9 Printer Positions
9.10 Default and Factory Properties
9.11 Graphics Object Properties
9.12 Summary
9.12.1 Summary of Good
Programming Practice
9.12.2 MATLAB
Summary
9.13 Exercises

章節(jié)摘錄

版權(quán)頁(yè):插圖:SummaryIn Chapter 3 we have presented the basic types of M.AB branches and the relational and logic operations used to control them.The principal type of branch is the i f construct This construct iS very flexible.It Can have as many elseif clauses as needed to construct any desed test.Furthermore,i f constructs Can be nested to produce more complex tests.A second type of branch iS the swi t ch construct.It may be used to select among mutually exclusive alternatives specified by a control expression.A third type of branch is the try/catch construct.It is used to trap errors that might occur dung execution.Chapter 3 also provided additional information about plots.The axi s command alloWs a programmer to select the specific range ofx and Y data to be plotted.The hold  command allows later plots to be plotted on tOp of earlier ones,SO that elements Can be  added tO a graph a piece at a time.nle f igure command allows the programmer to create and select among multiple Figure Windows.SO that a program Can create multiple plots in separate windows.nle subplot command allows the programmer to create and  select among multiple plots within a single Figure Window.

編輯推薦

《MATLAB編程(第4版)》:國(guó)外信息科學(xué)與技術(shù)經(jīng)典圖書(shū)系列

圖書(shū)封面

圖書(shū)標(biāo)簽Tags

無(wú)

評(píng)論、評(píng)分、閱讀與下載


    MATLAB編程 PDF格式下載


用戶評(píng)論 (總計(jì)49條)

 
 

  •   這本書(shū)需要有一定英文基礎(chǔ)的人看,但是內(nèi)容非常好,感覺(jué)是原汁原味的,比現(xiàn)在市面上的一些中文翻譯的版本好多了,非常適合初級(jí)學(xué)習(xí)matlab的人,另一方面也可以作為參考手冊(cè)使用,專業(yè)性比較強(qiáng),是專業(yè)的程序人員必備的佳品!
  •   特別適合于matlab編程方面的使用。希望大家都成為編程高手!強(qiáng)烈推薦此書(shū)
  •   matlab編程必備啊
  •   matlab最經(jīng)典的教材之一
  •   該書(shū)籍內(nèi)容很適合工科學(xué)生,是一本不錯(cuò)的編程入門(mén)教材,比起市面上一般的同類書(shū)籍那真不是一個(gè)檔次,可惜只有英文版的,要是是中文版的就好了,自己看了第二版的中文版的,但是翻譯問(wèn)題比較多,還是覺(jué)得買一本正版的看看比較好,收藏也可以的!贊一個(gè)!
  •   影印版質(zhì)量還不錯(cuò),怕以后買不到了趕緊下手。
  •   很不喜歡國(guó)內(nèi)的學(xué)者翻作,英文好的專業(yè)知識(shí)不過(guò)關(guān),專業(yè)知識(shí)好的英文就不好,專業(yè)知識(shí)好英文也好的海龜中文就不溜。 翻譯是個(gè)大問(wèn)題,所以英文還算可以一點(diǎn)的,盡量看看原著吧。
  •   本書(shū)內(nèi)容專業(yè),語(yǔ)句規(guī)范,有利于學(xué)習(xí)。
  •   看起來(lái)有點(diǎn)累。。
  •   不錯(cuò),不錯(cuò),不錯(cuò),字夠了吧
  •   書(shū)質(zhì)量很好,內(nèi)容豐富。不錯(cuò)
  •   英文教程,很鍛煉英文,內(nèi)容也不錯(cuò)
  •   挺豐富的內(nèi)容,看個(gè)人需求吧。
  •   書(shū)不錯(cuò),但好多灰塵
  •   下訂單后第二天就收到了,很滿意!
    書(shū)的質(zhì)量不錯(cuò),內(nèi)容更不錯(cuò),值得閱讀和收藏!


  •   看后還行的
  •   看了評(píng)論才買的 不錯(cuò)
  •   和學(xué)校發(fā)的是一樣的,質(zhì)量也挺好的
  •   邊看邊學(xué),感覺(jué)不錯(cuò)
  •   書(shū)有點(diǎn)皺褶,應(yīng)該是拿貨時(shí)弄的,不過(guò)速度還可以。
  •   學(xué)校上課用的教材,支持正版,書(shū)的品質(zhì)很好印刷清晰;這次價(jià)格也很適中,很喜歡。支持當(dāng)當(dāng)!
  •   不錯(cuò),如果有中文版就更好了,介紹很詳細(xì)。
    詳細(xì)講述了利用MATLAB解決典型技術(shù)問(wèn)題的方法,包括自頂向下的程序設(shè)計(jì)方法、函數(shù)的使用、MATLAB內(nèi)部工具的使用和數(shù)據(jù)結(jié)構(gòu)、使用技巧和常見(jiàn)錯(cuò)誤等。本書(shū)將MATLAB作為一種科技程序設(shè)計(jì)語(yǔ)言進(jìn)行介紹,幫助讀者編寫(xiě)出簡(jiǎn)潔、高效、組織良好的程序;同時(shí),幫助讀者使用MATLAB的擴(kuò)展在線幫助功能來(lái)找到所需的函數(shù)。本書(shū)注重提高利用MATLAB解決實(shí)際問(wèn)題的能力,有利于為讀者將來(lái)的學(xué)習(xí)與研究工作打下良好的基礎(chǔ)。
  •   MATLAB編程(第四版)(影印版)書(shū)的思路很清晰,通俗易懂,可惜書(shū)中知識(shí)太基礎(chǔ),我要的編程技術(shù)難度比較高,書(shū)中沒(méi)有我要的信息。
  •   如果你想好好學(xué)matlab這門(mén)語(yǔ)言,而且沒(méi)有相關(guān)語(yǔ)言基礎(chǔ),那么恭喜你,找到了一本相當(dāng)不錯(cuò)的入門(mén)書(shū)籍。不過(guò)需要耐心,英文書(shū)大多需要花更多的時(shí)間。
  •   可以作為matlab編程基礎(chǔ)教材。
  •   matlab的書(shū)籍很多,但國(guó)內(nèi)出版的英文版很少,這是其中之一。
  •   影印版的書(shū)中缺少第十章的內(nèi)容
  •   講的很詳細(xì),好多東西也比較精髓,就是還沒(méi)有研究完
  •   該商品還是比較好用的講的很詳細(xì),這次是替人買的。
  •   學(xué)校選的這本書(shū)做教材,書(shū)總的來(lái)說(shuō)不錯(cuò),就是拿來(lái)的時(shí)候有點(diǎn)臟了。
  •   要努力學(xué)習(xí)……
  •   買來(lái)一直沒(méi)有看!
  •   有點(diǎn)失望,不是我想要的,不過(guò)這個(gè)價(jià)格還勉強(qiáng)湊合。
  •   看起來(lái)有些慢,但還好
  •   同事看的,這高深的學(xué)問(wèn),看他每天都看,應(yīng)該還不錯(cuò)
  •   介紹不夠,覺(jué)得應(yīng)該內(nèi)容較全。不過(guò),從最基礎(chǔ)學(xué)起可能也有好處。也可能Matlab就這點(diǎn)東西,其他都是工具箱。
  •   對(duì)于初學(xué)者比較實(shí)用 工科學(xué)生用還行 內(nèi)容講的不深
  •   書(shū)在雙十一買的,顯示說(shuō)13號(hào)能到,但是直到15號(hào)才送來(lái),我可以理解雙十一各快遞公司很忙,但是你不能欺騙我們消費(fèi)者,可以直接告訴我們大概日期,這樣我們不必閑等,信譽(yù)有點(diǎn)差
  •   原版有近600頁(yè),影印后376頁(yè)?第十章呢,附錄呢?現(xiàn)在想買本好書(shū)怎么這么難……
  •   不知道是不是出版社的原因,為啥只有九章,讀到第七章才發(fā)現(xiàn),作者說(shuō)第十章講圖形用戶界面,才發(fā)現(xiàn)自己悲劇了,只有九章
  •   查普曼的經(jīng)典的編程書(shū)籍,入門(mén)吧
  •   這本書(shū)很不錯(cuò)值得推薦!?。?/li>
  •   不錯(cuò)啊 都給別人看了 嗚嗚
  •   之前去新華書(shū)店看了,跟買的差不多,不知為什么,這版圖書(shū)紙張很薄,不過(guò)這個(gè)價(jià)位是值了。
  •   好,實(shí)用簡(jiǎn)單。喜歡。
  •   還可以吧,個(gè)人知識(shí)需要這方面基本知識(shí)
  •   還不錯(cuò),書(shū)挺經(jīng)典的,講的也比較詳細(xì)
  •   還好。有點(diǎn)抽象復(fù)雜。慢慢學(xué)習(xí)中
  •     書(shū)很好,不過(guò)適合稍微有點(diǎn)matlab基礎(chǔ)的初學(xué)者!書(shū)中主要講了一些在編程需要用到的基本概念以及基本用法,書(shū)中的例子出的都非常的好,看過(guò)之后就能了解某些語(yǔ)句或函數(shù)的基本用法!另外,沒(méi)看過(guò)中文翻譯版的,建議買英文版的,各種概念的解釋?xiě)?yīng)該更清晰一些!
 

250萬(wàn)本中文圖書(shū)簡(jiǎn)介、評(píng)論、評(píng)分,PDF格式免費(fèi)下載。 第一圖書(shū)網(wǎng) 手機(jī)版

京ICP備13047387號(hào)-7