Mastering MATLAB, 1st edition
Published by Pearson (September 28, 2011) © 2012
- Duane C. Hanselman
- Bruce L. Littlefield
eTextbook
- Easy-to-use search and navigation
- Add notes and highlights
- Search by keyword or page
- Hardcover, paperback or looseleaf edition
- Affordable rental option for select titles
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.
- Presents the tools students need to master the latest release of MATLAB. This text helps students increase their productivity by showing them how to use MATLAB’s capabilities and new features efficiently.
- Thorough coverage of indexing, vectorizing, and linear algebra. Increases students' problem-solving productivity and dramatically increases algorithm speed.
- Abundant examples throughout, including a chapter that specifically covers extensive examples. The material is generally presented in theform of examples that students can duplicate, by running MATLAB as they read the book.
- Comprehensive index.
- This text covers only topics that are of use to a general audience. The material presented generally applies to all computer platforms.
-
All chapters have been revised and updated for MATLAB version 7.12,
Release 2011a, April 2011.
-
Chapter 32 is revised and greatly expanded to provide even more helpful examples.
-
Many topics are rewritten to take advantage of new features available in
MATLAB 7.12 and beyond.
-
Depreciated or obsolete functions have been removed or de-emphasized.
-
Appendices have been expanded to include changes in MATLAB functions
and functionality from version 5.0 through version 7.12. These appendices help
the user identify incompatibilities between versions so that MATLAB code
can be written that runs seamlessly across many MATLAB versions.
-
Chapters on programming in C, Fortran, and Java along with Windows integration
were dropped to make room for expanded examples and coverage of
the new features of MATLAB 7.12.
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
Dr. Hanselman is a leading expert in the design of brushless permanent magnet motors, i.e., brushless DC motors and PM synchronous motors. He provides consulting to a wide variety of companies and has served as an expert witness for patent infringement lawsuits and various insurance and civil suits. In addition, Dr. Hanselman has presented numerous short courses on the design of brushless permanent magnet motors.
Dr. Hanselman has published numerous books, including the Mastering MATLAB series of texts and two editions of Brushless Permanent Magnet Motor Design.
Need help? Get in touch