Learning Matlab 6, Release 12, Matlab Student Version

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Author(s): The MathWorks
Edition: 2nd Printing
Publisher: The MathWorks
Year: 2001

Language: English
Pages: 296

Introduction......Page 11
Student Use Policy......Page 12
MATLAB Differences......Page 13
Symbolic Math Toolbox......Page 14
Obtaining Additional MathWorks Products......Page 15
Getting Started with MATLAB......Page 16
Finding Reference Information......Page 17
Accessing the Online Documentation......Page 18
MathWorks Knowledge Base......Page 20
Product Registration......Page 21
Toolboxes......Page 22
The MATLAB Application Program Interface (API)......Page 23
What Is Stateflow?......Page 24
Installation......Page 25
MATLAB and Simulink......Page 26
MEX-Files......Page 27
Installing MATLAB......Page 28
Installing Additional Toolboxes......Page 29
Accessing the Online Documentation (Help)......Page 30
MATLAB and Simulink......Page 31
Installing the Software......Page 32
Installing Additional Toolboxes......Page 37
Accessing the Online Documentation (Help)......Page 38
Development Environment......Page 41
Introduction......Page 42
Quitting MATLAB......Page 43
MATLAB Desktop......Page 44
Command Window......Page 46
Running External Programs......Page 47
Help Browser......Page 48
For More Help......Page 50
Current Directory Browser......Page 51
Workspace Browser......Page 52
Array Editor......Page 53
Editor/Debugger......Page 54
Other Development Environment Features......Page 55
Getting Started......Page 57
Matrices and Magic Squares......Page 58
Entering Matrices......Page 59
sum, transpose, and diag......Page 60
Subscripts......Page 62
The Colon Operator......Page 63
The magic Function......Page 64
Numbers......Page 66
Functions......Page 67
Examples of Expressions......Page 69
Generating Matrices......Page 70
M-Files......Page 71
Deleting Rows and Columns......Page 72
Linear Algebra......Page 74
Arrays......Page 77
Building Tables......Page 78
Multivariate Data......Page 79
Scalar Expansion......Page 80
Logical Subscripting......Page 81
The find Function......Page 82
The format Command......Page 84
Command Line Editing......Page 86
Tab Completion......Page 87
Graphics......Page 89
Creating a Plot......Page 90
Multiple Data Sets in One Graph......Page 91
Specifying Line Styles and Colors......Page 92
Plotting Lines and Markers......Page 93
Imaginary and Complex Data......Page 94
Adding Plots to an Existing Graph......Page 95
Multiple Plots in One Figure......Page 97
Controlling the Axes......Page 98
Setting Axis Visibility......Page 99
Axis Labels and Titles......Page 100
Formats for Importing into Other Applications......Page 101
Using Functions to Edit Graphs......Page 102
Using Plot Editing Mode......Page 103
Using the Property Editor......Page 104
Starting the Property Editor......Page 105
Example – Graphing the sinc Function......Page 106
Example – Colored Surface Plots......Page 107
Transparent Surfaces......Page 108
Surface Plots with Lighting......Page 109
Manipulating the Surface......Page 110
Images......Page 112
Using the Print Command......Page 114
Graphics Objects......Page 116
Object Hierarchy......Page 117
Commands for Working with Objects......Page 118
Setting Properties of Existing Objects......Page 119
Setting Multiple Property Values......Page 120
Finding the Handles of Existing Objects......Page 121
Using findobj as an Argument......Page 122
Graphical User Interface Design Tools......Page 123
Erase Mode Method......Page 125
Creating Movies......Page 126
Programming with MATLAB......Page 129
if......Page 130
for......Page 132
continue......Page 133
break......Page 134
Multidimensional Arrays......Page 135
Cell Arrays......Page 137
Characters and Text......Page 139
Structures......Page 142
Scripts......Page 145
Functions......Page 146
Passing String Arguments to Functions......Page 148
A Cautionary Note......Page 149
The eval Function......Page 150
Preallocation......Page 151
Function Functions......Page 152
Demonstration Programs Included with MATLAB......Page 155
Getting More Information......Page 161
Symbolic Math Toolbox......Page 163
Introduction......Page 164
Getting Help......Page 166
Symbolic Objects......Page 167
Creating Symbolic Variables and Expressions......Page 168
Symbolic and Numeric Conversions......Page 169
Constructing Real and Complex Variables......Page 171
Example: Creating a Symbolic Matrix......Page 172
The Default Symbolic Variable......Page 173
Using Symbolic Expressions......Page 176
Creating an M-File......Page 177
Differentiation......Page 178
Limits......Page 182
Integration......Page 184
Integration with Real Constants......Page 186
Real Variables via sym......Page 188
Symbolic Summation......Page 189
Taylor Series......Page 190
Extended Calculus Example......Page 191
Simplifications......Page 205
expand......Page 206
factor......Page 207
simplify......Page 209
simple......Page 210
subexpr......Page 213
subs......Page 215
Overview......Page 220
Rational Arithmetic......Page 221
Variable-Precision Numbers......Page 222
Another Example......Page 223
Basic Algebraic Operations......Page 225
Linear Algebraic Operations......Page 226
Eigenvalues......Page 230
Jordan Canonical Form......Page 236
Singular Value Decomposition......Page 238
Eigenvalue Trajectories......Page 240
Solving Algebraic Equations......Page 248
Several Algebraic Equations......Page 249
Example 1......Page 252
Example 3......Page 253
Several Differential Equations......Page 254
MATLAB Quick Reference......Page 257
Introduction......Page 258
General Purpose Commands......Page 259
Language Constructs and Debugging......Page 261
Elementary Matrices and Matrix Manipulation......Page 263
Elementary Math Functions......Page 264
Specialized Math Functions......Page 265
Matrix Functions - Numerical Linear Algebra......Page 266
Data Analysis and Fourier Transform Functions......Page 267
Polynomial and Interpolation Functions......Page 268
Function Functions - Nonlinear Numerical Methods......Page 269
Sparse Matrix Functions......Page 270
Sound Processing Functions......Page 271
Character String Functions......Page 272
Bitwise Functions......Page 273
MATLAB Interface to Java Functions......Page 274
Data Visualization......Page 275
Graphical User Interfaces......Page 280
Serial Port I/O......Page 281
Symbolic Math Toolbox Quick Reference......Page 283
Introduction......Page 284
Linear Algebra......Page 285
Variable Precision Arithmetic......Page 286
Index......Page 287