anonymous function, 231
arithmetic operations with scalars, 11
array
addition, subtraction, 64
addressing, matrix, 43
addressing, vector, 42
creating, 35
division, 68
element-by-element operations, 72
multiplication, 65
one-dimensional (vector), 35
two-dimensional (matrix), 39
Array Editor Window, 97
arrow key, 10
assignment operator, 16
BackgroundColor
, 147
colon symbol, 44
comment, 10
conditional statement
if-else-end, 186
if-elseif-else-end, 187
if-end, 184
Current Directory Window, 23
current directory, 22
curve fitting
exponential function, 271
logarithmic function, 271
power function, 271
reciprocal function, 271
curve fitting interface, 278
determinant, 70
differential equation, 303, 366
differentiation, symbolic, 363
display formats, 12
EdgeColor
, 147
Editor Window, 7
Editor/Debugger Window, 21
element-by-element operations, 72
ellipsis, 10
equation, solving, 295, 348, 358
equations, set of linear, 71
error bars, 150
escape character, 104
exporting data, 114
fid (file identifier), 108
Figure Window, 7
Figure Windows (multiple), 157
FontAngle
, 147
FontName
, 147
FontSize
, 147
FontWeight
, 147
function
anonymous, 231
function functions, 234
function handle, 235
nested functions, 242
subfunctions, 240
user-defined, 221
function file
creating, 222
function definition line, 224, 225
H1 line, 226
help text lines, 226
input/output arguments, 224
saving, 227
structure, 223
using, 228
function, built-in, 14
global variables, 227
Greek characters, 146
handle (function), 235
Help Window, 7
help, 226
identity matrix, 68
Import Wizard, 116
importing a function, 237
importing data, 114
indefinite loop, 198
input a string, 100
integration, numerical, 300
integration, symbolic, 365
interpolation
cubic spline, 276
linear, 276
nearest, 276
interpolation, 274
inverse, matrix, 69
least squares, 268
left division, 70
linestyle
, 137
LineWidth
, 147
linewidth
, 137
logical array, 176
logical operator, 179
logical vectors, 178
loop
for-end, 192
nested, 200
while, 197
marker
, 137
markeredgecolor
, 137
markerfacecolor
, 137
markersize
, 137
matrix
adding elements, 47
deleting elements, 48
determinant, 70
identity, 68
inverse, 69
size of, 39
modifiers, text, 146
multiple Figure Windows, 157
nested functions, 242
nested loops, 200
number format, 105
order of precedence, 11, 178, 180
output commands, 100
output to a file, 108
passing a function, 237
percent symbol, 10
plot
axis label, 144
axis range, 147
bar plot (3-D), 331
bar plot, 152
color specifiers, 136
contour plot (2-D), 330
contour plot (3-D), 330
cylinder, 331
error bars, 150
grid for 3-D plot, 325
grid, 148
legend, 145
line (3-D), 323
logarithmic axes, 149
marker specifiers, 136
mesh (3-D), 327
mesh and contour plot (3-D), 329
mesh curtain plot (3-D), 329
mesh plot (3-D), 328
multiple graphs in a plot, 141–144
multiple plots on a page, 157, 159
pie charts, 153
pie plot (3-D), 332
Plot Editor, 148
plot viewing direction (3-D), 333
polar grid, 332
polar plot, 156
properties, 136
scatter plot (3-D), 332
special graphics, 152
specifiers, 136
stair plot, 152
stem plot (3-D), 332
stem plot, 152
surface with lighting plot (3-D), 330
symbolic expression, 369
text, 145
three-dimensional, 323
title, 144
waterfall plot (3-D), 330
Plots Toolstrip, 159
polar plot, 156
polynomial
addition, 264
derivative, 266
division, 265
MATLAB representation, 261
multiplication, 265
roots, 263
value of, 262
random numbers, 77
relational operator, 176
right division, 71
Rotation
, 147
saving the workspace, 111
script file
running, 22
saving, 22
script file, 20
stopping indefinite loop, 198
string, input, 100
subfunctions, 240
subscript, 146
superscript, 146
switch-case statement, 189
symbolic math
default variable, 353
differential equation solution, 367
differentiation, 363
equation solving, 358
expression, 350
integration, 365
numerical calculations with, 372
object, 348
plotting expression, 369
text modifiers, 146
transpose operator, 41
truth table, 183
variable
defining, scalar, 16
global, 227
local, 226
name, 18
predefined, 19
vector
adding elements, 46
creating, 36
deleting elements, 48
vectorization, 75
Workspace Window, 97
workspace, 96
18.119.28.108