Mastering MATLAB, 1st edition

Published by Pearson (November 21, 2011) © 2012

  • Duane C. Hanselman
  • Bruce L. Littlefield
Products list

Access details

  • Instant access once purchased
  • Fulfilled by VitalSource
  • 180-day rental

Features

  • Add notes and highlights
  • Search by keyword or page
Products list

Details

  • A print text

This product is expected to ship within 3-6 business days for US and 5-10 business days for Canadian customers.

For undergraduate and graduate courses in MATLAB or as a reference in courses where MATLAB is used.

This text covers all essential aspects of MATLAB presented within an easy- to-follow "learn while doing" tutorial format.

1 Getting Started 1

1.1 Introduction 1

1.2 Typographical Conventions 1

1.3 What’s New in MATLAB 2

1.4 What’s in Mastering MATLAB 2

 

2 Basic Features 4

2.1 Simple Math 4

2.2 The MATLAB Workspace 6

2.3 About Variables 7

2.4 Comments, Punctuation, and Aborting Execution 10

2.5 Complex Numbers 12

2.6 Floating-Point Arithmetic 14

2.7 Mathematical Functions 16

 

3 The MATLAB Desktop 22

3.1 MATLAB Windows 22

3.2 Managing the MATLAB Workspace 23

3.3 Memory Management 27

3.4 Number Display Formats 27

3.5 System Information 28

3.6 The MATLAB Search Path 30

 

4 Script M-files 31

4.1 Script M-file Use 31

4.2 Block Comments and Code Cells 35

4.3 Setting Execution Time 37

4.4 Startup and Finish 38

 

5 Arrays and Array Operations 40

5.1 Simple Arrays 40

5.2 Array Addressing or Indexing 41

5.3 Array Construction 43

5.4 Array Orientation 46

5.5 Scalar—Array Mathematics 50

5.6 Array—Array Mathematics 50

5.7 Standard Arrays 57

5.8 Array Manipulation 61

5.9 Array Sorting 76

5.10 Subarray Searching 79

5.11 Array-Manipulation Functions 86

5.12 Array Size 92

5.13 Arrays and Memory Utilization 95

 

6 Multidimensional Arrays 101

6.1 Array Construction 101

6.2 Array Mathematics and Manipulation 105

6.3 Array Size 116

 

7 Numeric Data Types 119

7.1 Integer Data Types 119

7.2 Floating-Point Data Types 125

7.3 Summary 127

 

8 Cell Arrays and Structures 129

8.1 Cell Array Creation 130

8.2 Cell Array Manipulation 133

8.3 Retrieving Cell Array Content 135

8.4 Comma-Separated Lists 139

8.5 Cell Functions 143

8.6 Cell Arrays of Strings 146

8.7 Structure Creation 148

8.8 Structure Manipulation 153

8.9 Retrieving Structure Content 155

8.10 Comma-Separated Lists (Again) 157

8.11 Structure Functions 160

8.12 Summary 164

 

9 Character Strings 165

9.1 String Construction 165

9.2 Numbers to Strings to Numbers 171

Need help? Get in touch