Programming and Data Types    

Symbols 

% <1> <2>
&
@ 147
|
~ <1> <2>
~=

accuracy of calculations
adding
cells to cell arrays
fields to structure arrays
advanced indexing
aggregation
alphanumeric characters. See character
AND operator, rules for evaluating
ans
answer, assigned to ans
any
arguments
checking number of
defined for function
order <1> <2>
passed by reference
passed by value
passing variable number
arithmetic expressions
arithmetic operators
arithmetic operators, overloading
arrays
cell array of strings
character <1> <2>
dimensions
inverse permutation
indexing
advanced
multidimensional
numeric
converting to cell array
of strings
storage
assignment statements <1> <2>
using to build structure arrays
automatic scalar expansion

base (numeric), converting
base date
base number conversion
binary from decimal conversion
blanks
finding in string arrays
removing from strings

C++ and MATLAB OOP
caching
MATLAB directory
MATLAB/toolbox directory
calling context
calling MATLAB functions
compilation for later use
how MATLAB searches for functions
storing as pseudocode
canonical class
case
case conversion
cat <1> <2> <3>
catch
for error handling
cell
indexing <1> <2>
cell arrays
accessing a subset of cells
accessing data <1> <2>
applying functions to
cell indexing
concatenating
content indexing
converting to numeric array
creating
using assignments
with cells function
with curly braces
defined
deleting cells
deleting dimensions
displaying
expanding
flat
indexing
multidimensional
nested
building with the cells function
indexing
of strings
comparing strings
of structures
organizing data
overview
preallocation <1> <2>
reshaping
to replace comma-separated list
visualizing
cell data type
celldisp
cellplot
cells <1> <2> <3>
char data type
character arrays <1> <2>
two-dimensional
characters
corresponding ASCII values
finding in string
class directories
class function
classes
clearing definition
constructor method
designing
methods (object-oriented)
methods debugging
methods required by MATLAB
overview
classes, Java
clear <1> <2>
clear class definition
colon operator <1> <2>
for multidimensional array subscripting
to access subsets of cells
used to index a page
used with scalar expansion
column vector
indexing as
columns
deleting
comma to separate function arguments
comma-separated list
using cell arrays
comments in code
comparing
strings
complex conjugate transpose operator
computational functions
applying to cell arrays
applying to multidimensional arrays
applying to structure fields
in M-file
computer
computer type
concatenating
cell arrays
strings
concatenation
conditional statements
constructor methods
guidelines
using class in
containment
content indexing
to access cell contents
Contents.m file
continue
conv
converter methods <1> <2>
converting
and handling dates
base numbers
cases of strings
numbers
strings <1> <2>
cos
creating
cell array
multidimensional array
string
string array
structure array
cross
curly braces
for cell array indexing <1> <2>
to build cell arrays
to nest cell arrays

data class hierarchy
data organization
cell arrays
multidimensional arrays
structure arrays
data types
cell
char
classes
double
single
sparse
sparse matrices
struct
uint
user defined
UserObject
date
datenum <1> <2>
dates
base
conversions
formats
handling and converting
number
string, vector of input
datestr <1> <2>
datevec
deblank
debugging class methods
decimal representation
to binary
to hexadecimal
deleting
cells from cell array
fields from structure arrays
deletion operator
delimiter in string
dim argument for cat
dimensions
deleting
permuting
removing singleton
directories
adding to path
class
Contents.m file
help for
MATLAB
caching
private <1> <2>
disp
dispatch type
dispatching priority
display method
examples
displayed output
displaying
cell arrays
error and warning messages
field names for structure array
double data type
double-precision matrix

editor
accessing
for creating M-files <1> <2>
eig
element-by-element organization for structures
else <1> <2>
elseif <1> <2>
empty arrays
and if statement
and relational operators
and while loops
empty matrices
end method
eps
epsilon
equal to operator
error
handling
error
errors
displaying
eval
for error handling
evaluating
string containing function name
string containing MATLAB code
string containing MATLAB expression
examples
checking number of function arguments
container class
for
function
if
inheritance
M-file for structure array
polynomial class
script
switch
vectorization
while
exclusive OR operator
execution
pausing
script
expanding
cell arrays
structure arrays
expressions
and scalar expansion
arithmetic
involving empty arrays
logical
most recent answer
overloading
relational
external program, running from MATLAB

feval
using on function handles 150, 155 <1> <2>
fieldnames
fields
accessing data within
accessing with getfield
adding to structure array
applying functions to
all like-named fields
assigning data to
assigning with setfield
defined
deleting from structures
indexing within
names
size
writing M-files for
fields
find function
and subscripting
finding
substring within a string
floating-point number
largest
smallest
floating-point operations, count
floating-point relative accuracy
flops
flow control
catch
continue
else
elseif
for
if
return
switch
try
while
for <1> <2>
example
loop
indexing
matrices as indices
nested
syntax
vectorization
format
date
fragmentation, reducing
func2str 163
example 163
function
applying
to multidimensional structure arrays
to structure contents
body <1> <2>
calling context
characteristics
clearing from memory
contents
defined
dispatching priority
example
executing function name string
logical
multiple output values
name
name resolution
optimization
order of arguments <1> <2>
passing variable number of arguments
primary
private
storing as pseudocode
to create arrays
what happens when called
workspace
function definition line
defined
for subfunction
function handles <1> <2>
advantages of 170
benefits of 150
constructing 154
converting
from function name string 164
to function name string 163
error conditions 168
evaluating a nonscalar function handle 169
including path in the constructor 168
nonexistent function 168
evaluating 155
finding methods of 159
function scope
private 162
maximum name length 154
of subfunctions
example 157
saving and loading 167
usage 149
function name string
converting
from function handle 163
to function handle 164
functions
applying to cell arrays
class
computational, applying to structure fields
converters
inferiorto
isa
nested
overloading <1> <2> <3>
scope
private 162
subassign
subsref
superiorto
which

get method
getfield
global variables
rules for use
greater than operator
greater than or equal to operator

H1 line
and help command
and lookfor command
defined
handling and converting dates
help
and H1 line
help text, defined
hexadecimal, converting from decimal
hierarchy of data classes

if
and empty arrays
example
nested
imaginary unit
indexed reference
indexing
advanced
cell array
content
for loops
multidimensional arrays
nested cell arrays
nested structure arrays
structures within cell arrays
within structure fields
indices, how MATLAB calculates
Inf
inferiorto function
infinity (represented in MATLAB)
inheritance
example class
multiple
simple
input
from keyboard
obtaining from M-file
input arguments
defined by function
integers, changing to strings
interactive user input
inverse permutation of array dimensions
ipermute <1> <2>
isa
isempty
isinf
isnan

Java and MATLAB OOP
joining matrices

kinds of M-files

lasterr
and error handling
less than operator
less than or equal to operator
load
function handles 167
loading
objects
loadobj example
local variables
logical expressions
and subscripting
logical functions
logical operators
rules for evaluation
lookfor <1> <2>
and H1 line
loops
for
while

MATLAB
data type classes
programming
functions
M-files
quick start
scripts
structures
version
matrices
concatenation
deleting rows and columns
empty
joining
sparse
matrix
as index for for loops
double-precision
power operator
single-precision
See also matrices
mean
memory
and function workspace
management
Out of Memory message
reducing fragmentation
use of variables
methods
converters
determining which is called
display
end
get
invoking on objects
listing
precedence
required by MATLAB
set
subsasgn
subsref
methods
of function handles 159
M-files
comments
contents
corresponding to functions
creating
in MATLAB directory
in MATLAB directory tree
quick start
creating with text editor
dispatching priority
kinds
naming
obtaining input interactively
obtaining keyboard input
optimization
overview
pausing during execution
primary function
subfunction
superseding existing names
to operate on structures
Microsoft Windows
and MATLAB use of system resources
mislocked
mlock
multidimensional arrays
applying functions
element-by-element functions
matrix functions
vector functions
cell arrays
computations on
creating
at the command line
with functions
with the cat function
defined
extending
format
indexing
avoiding ambiguity
with the colon operator
number of dimensions
organizing data
permuting dimensions
removing singleton dimensions
reshaping
size of
storage
structure arrays
applying functions
subscripts
multiple conditions for switch
multiple inheritance
multiple output values
munlock

names
for functions
for variables
structure fields
superseding
NaN
nargin
nargout
ndgrid
ndims <1> <2>
nesting
cell arrays
for loops
functions
if statements
structures
newlines in string arrays
not equal to operator
NOT operator
rules for evaluating
Not-a-Number
now
number of arguments
numbers
changing to strings
date
time

object-oriented programming
converter functions
features of
inheritance:multiple
inheritance:simple
overloading <1> <2>
subscripting
overview
See also classes and objects
objects
accessing data in
as indices into objects
creating
invoking methods on
loading
overview
precedence
saving
offsets for indexing
ones
online help
operator
applying to cell arrays
applying to structure fields
arithmetic
colon <1> <2> <3> <4> <5>
complex conjugate
deletion
equal to
greater than
greater than or equal to
less than
less than or equal to
matrix power
not equal to
power
precedence
relational
subtraction
unary minus
operators
&
|
~
logical
overloading <1> <2>
table of
optimization
preallocation, array
vectorization
OR operator, rules for evaluating
order of function arguments <1> <2>
organizing data
cell arrays
multidimensional arrays
structure arrays
Out of Memory message
output
displayed
output arguments
defined by function
overloading
arithmetic operators
functions <1> <2> <3>
loadobj
operators
pie3
saveobj
overriding operator precedence

pack
page subscripts
parentheses
for input arguments
to override operator precedence
parts of a function
passing arguments
by reference
by value
path
adding directories to
pausing during M-file execution
pcode
PCs and MATLAB use of system resources
percent sign (comments)
permute <1> <2>
permuting array dimensions
inverse
persistent variables
pi
pie3 function overloaded
plane organization for structures
polar
polynomials
example class
power operator
preallocation
cell array <1> <2>
structure array
precedence
object
within expression
primary function
private directory
in dispatching priority
private function
private functions
precedence of
private methods
programming, object-oriented
programs
running external
pseudocode

quick start
MATLAB programming
quit
quotes, for creating strings

randn
realmax
realmin
reducing memory fragmentation
reference
passing arguments by
reference, subscripted
references for OO design
relational operators
and empty arrays
and strings
removing
cells from cell array
fields from structure arrays
singleton dimensions
replacing substring within string
repmap
reshape <1> <2>
reshaping
cell arrays
multidimensional arrays
return
rmfield
rows
deleting
running
external program
script

save
function handles 167
saveobj example
saving
objects
scalar
and relational operators
expansion
string
script
and creation of new data
and data in workspace
characteristics
defined
example
executing
script files
search path
and subfunctions
searching
in string
set method
setfield
shell escape functions
shiftdim
simple inheritance
sin <1> <2>
single data type
single-precision matrix
size
of structure arrays
of structure fields
size <1> <2>
smallest value system can represent
sparse data type
sparse matrix
special values
square brackets
for output arguments
squeeze <1> <2> <3>
statements
conditional
storage
array
str2func 164
example 165
strcmp
string
and relational operators
array
comparing values on cell arrays
converting to cell arrays
padding for equal row length
arrays
cell array
categorizing characters
comparing
concatenation
conversion <1> <2>
creating
delimiting character
evaluating
evaluation
finding starting position of substring
functions that test
operations
removing trailing blanks
representation
scalar
searching and replacing
token
struct data type
structs <1> <2> <3>
structure arrays
accessing data
using getfield
adding fields
applying functions to
building
using structs
data organization
defined
deleting fields
element-by-element organization
expanding <1> <2>
fields
assigning data to
assigning using setfield
defined
indexing
nested structures
within fields
multidimensional
applying functions
nesting
obtaining field names
organizing data
example
overview
plane organization
preallocation
size
subscripting
within cell arrays
writing M-files for
example
structures
See also structure arrays
structures used with classes
subarrays
accessing
subassign
subfunctions
accessing
creating
debugging
function
definition line
in dispatching priority
on search path
subref
subsasgn
subscripted assignment
subscripting
how MATLAB calculates indices
multidimensional arrays
overloading
structure arrays
with logical expression
with the find function
subscripts
page
subsref method
substring within a string
subtraction operator
sum
superiorto function
superseding existing M-files names
switch
case groupings
example
multiple conditions

tabs in string arrays
time
numbers
token in string
tolerance
transpose
trigonometric functions <1> <2>
try

uint data type
unary minus operator
user classes, designing
user input
obtaining interactively
UserObject data type

value
largest system can represent
passing arguments by
varargin <1> <2>
in argument list
unpacking contents
varargout
in argument list
packing contents
variables
deleting
and memory use
global
rules for use
in dispatching priority
local
memory usage
naming
persistent
replacing list with a cell array
storage in memory
vector
of dates
preallocation
vectorization
example
replacing for loops
version
version, obtaining
visualizing
cell array

warnings
displaying
which used with methods
while
and empty arrays
example
syntax
white space
finding in string
whos
interpreting memory use
Windows
and MATLAB use of system resources
workspace
context
of individual functions

xor

zeros

Querying Which Method MATLAB Will Call