did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780521850681

A Guide to MATLAB: For Beginners and Experienced Users

by
  • ISBN13:

    9780521850681

  • ISBN10:

    0521850681

  • Edition: 2nd
  • Format: Hardcover
  • Copyright: 2006-06-19
  • Publisher: Cambridge University Press
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $133.00

Summary

This is a short, focused introduction to MATLAB, a comprehensive software system for mathematical and technical computing. It contains concise explanations of essential MATLAB commands, as well easily understood instructions for using MATLAB's programming features, graphical capabilities, simulation models, and rich desktop interface. Written for MATLAB 7 it can also be used with earlier (and later) versions of MATLAB.This book teaches how to graph functions, solve equations, manipulate images, and much more. It contains explicit instructions for using MATLAB's companion software, Simulink, which allows graphical models to be built for dynamical systems. MATLAB's new "publish" feature is discussed, which allows mathematical computations to be combined with text and graphics, to produce polished, integrated, interactive documents.

Table of Contents

Preface xi
Why We Wrote This Book
xi
Who Should Read This Book
xii
How This Book Is Organized
xii
Conventions Used in This Book
xiv
About the Authors
xv
1 Getting Started
1(6)
Platforms and Versions
1(1)
Installation
2(1)
Starting MATLAB
2(1)
Typing in the Command Window
3(1)
Online Help
3(3)
MATLAB Windows
6(1)
Ending a Session
6(1)
2 MATLAB Basics
7(20)
Input and Output
7(1)
Arithmetic
8(1)
Recovering from Problems
9(1)
Errors in Input
9(1)
Aborting Calculations
9(1)
Algebraic or Symbolic Computation
10(2)
Substituting in Symbolic Expressions
10(1)
Symbolic Expressions, Variable Precision, and Exact Arithmetic
11(1)
Vectors and Matrices
12(3)
Vectors
13(1)
Matrices
14(1)
Suppressing Output
15(1)
Functions
15(2)
Built-in Functions
15(1)
User-Defined Functions
16(1)
Managing Variables
17(1)
Variables and Assignments
18(2)
Solving Equations
20(2)
Graphics
22(5)
Graphing with ezplot
22(1)
Modifying Graphs
23(1)
Graphing with plot
24(1)
Plotting Multiple Curves
25(2)
3 Interacting with MATLAB
27(16)
The MATLAB Interface
27(4)
The Desktop
27(1)
The Workspace
28(1)
The Current Directory and Search Path
28(2)
The Command History Window
30(1)
M-Files
31(4)
Script M-Files
31(2)
Function M-Files
33(2)
Loops
35(1)
Presenting Your Results
35(6)
Publishing an M-File
36(1)
Diary Files
37(1)
Interactive M-Files
37(1)
Wrapping Long Input and Output Lines
38(1)
Printing and Saving Graphics
38(1)
M-Books
39(2)
Fine-Tuning Your M-Files
41(2)
Practice Set A: Algebra and Arithmetic 43(36)
4 Beyond the Basics
45(14)
Suppressing Output
45(1)
Data Classes
46(1)
String Manipulation
47(1)
Symbolic and Floating-Point Numbers
48(1)
Functions and Expressions
48(2)
Substitution
50(1)
More about M-Files
50(1)
Variables in Script M-Files
50(1)
Variables in Function M-Files
50(1)
Structure of Function M-Files 5I
Complex Arithmetic
51(1)
More on Matrices
52(1)
Solving Linear Systems
53(1)
Calculating Eigenvalues and Eigenvectors
53(1)
Doing Calculus with MATLAB
54(1)
Differentiation
54(1)
Integration
54(1)
Limits
55(1)
Sums and Products
56(1)
Taylor Series
57(1)
Default Variables
57(2)
5 MATLAB Graphics
59(26)
Two-Dimensional Plots
59(1)
Parametric Plots
59(1)
Contour Plots and Implicit Plots
60(2)
Field Plots
62(1)
Three-Dimensional Plots
62(1)
Curves in Three-Dimensional Space
62(2)
Surfaces in Three-Dimensional Space
64(1)
Figure Windows
65(1)
Multiple Figure Windows
66(1)
The Figure Toolbar
66(1)
Combining Plots in One Window
67(1)
Customizing Graphics
67(2)
Annotation
69(1)
Change of Plot Style
70(1)
Full-Fledged Customization
71(2)
Images, Animations, and Sound
73(1)
Images
74(2)
Animations
76(1)
Sound
77(2)
Practice Set B: Calculus, Graphics, and Linear Algebra 79(116)
6 MATLAB Programming
85(18)
Branching
85(1)
Branching with if
85(2)
Logical Expressions
87(4)
Branching with switch
91(1)
More about Loops
92(1)
Open-Ended Loops
92(1)
Breaking from a Loop
93(1)
Other Programming Commands
94(1)
Subfunctions
94(1)
Cell and Structure Arrays
94(1)
Commands for Parsing Input and Output
95(2)
Evaluation and Function Handles
97(1)
User Input and Screen Output
98(2)
Debugging
100(1)
Interacting with the Operating System
100(1)
Calling External Programs
101(1)
File Input and Output
102(1)
7 Publishing and M-Books
103(8)
Fine Points of Publishing
103(3)
More on M-Books
106(1)
The Notebook Menu Items
107(1)
M-Book Graphics
108(1)
More Hints for Effective Use of M-Books
108(3)
8 Simulink
111(12)
A Simple Differential Equation
A An Engineering Example
115(5)
Communication with the Workspace
120(3)
9 GUIs
123(8)
GUI Layout and GUIDE
123(3)
Saving and Running a GUI
126(1)
GUI Callback Functions
127(4)
10 Applications
131(74)
Illuminating a Room
132(6)
Mortgage Payments
138(6)
Monte Carlo Simulation
144(6)
Population Dynamics
150(10)
Linear Economic Models
160(5)
Linear Programming
165(7)
The 360° Pendulum
172(3)
A Numerical Solution of the Heat Equation
175(10)
A A Model of Traffic Flow
185(10)
Practice Set C: Developing Your MATLAB Skills 195(24)
11 Troubleshooting
205(14)
Common Problems
205(1)
Wrong or Unexpected Output
205(2)
Syntax Error
207(2)
Spelling Error
209(1)
Error or Warning Messages When Plotting
209(1)
A Previously Saved M-File Evaluates Differently
210(1)
Computer Won't Respond
211(500)
The Most Common Mistakes
711
Debugging Techniques
212(7)
Solutions to the Practice Sets 219(68)
Solutions to Practice Set A: Algebra and Arithmetic
219(12)
Solutions to Practice Set B: Calculus, Graphics, and Linear Algebra
231(24)
Solutions to Practice Set C: Developing Your MATLAB Skills
255(32)
Glossary 287(15)
Index 302

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program