! symbol
for entering a shell escape function
% symbol
for specifying character conversions
for writing single-line comments
for writing the H1 help line
%{ and %} symbols
for writing multiple-line comments
( ) symbol
for indexing into an array
for specifying function input arguments
(space) character
for separating array row elements
for separating function return values
* symbol
for filename wildcards
, symbol
for separating array indices
for separating array row elements
for separating input or output arguments
for separating MATLAB commands
. symbol
for defining a structure field
for specifying object methods
.( ) symbol
for creating a dynamic structure field
.. symbol
for referring to a parent directory
... symbol
for continuing a command line
: symbol
for converting to a column vector
for generating a numeric sequence
for preserving array shape on assignment
for specifying an indexing range
generating a numeric sequence
; symbol
for separating rows of an array
for suppressing command output
@ symbol
for class directories
for constructing function handles
[ ] symbol
for concatenating arrays
for constructing an array
for specifying function return values
{ } symbol
for constructing a cell array
for indexing into a cell array
' symbol
for constructing a character array
access modes
HDF files
accuracy of calculations
addition operator
aggregation
and (M-file function equivalent for &)
anonymous functions
changing variables
constructing
evaluating variables
example -- multiple anonymous functions
example -- passing a function to quad
in cell arrays
using space characters in
with no input arguments
answer, assigned to ans
arguments
checking number of
function
memory requirements
order in argument list
order of outputs
passing
passing variable number
to nested functions
arithmetic operators
overloading
array headers
memory requirements
arrays
cell array of strings
concatenating diagonally
copying
deleting rows and columns
diagonal
dimensions
inverse permutation
empty
expanding
flipping
functions
changing indexing style
creating a matrix
determining data type
finding matrix structure or shape
modifying matrix shape
multidimensional arrays
sorting and shifting
functions for diagonals
getting dimensions of
linear indexing
logical indexing
multidimensional
numeric
converting to cell array
of strings
reshaping
rotating
shifting
sorting column data
sorting row data
sorting row vectors
storage
transposing
ASCII data
definition of
exporting
exporting delimited data
exporting with diary function
formats
importing
importing delimited files
importing mixed alphabetic and numeric data
importing space-delimited data
reading formatted text
saving
specifying delimiter used in file
using the Import Wizard with
with text headers
writing
assignment statements
building structure arrays with
local and global variables
attributes
retrieving from HDF files
writing to an HDF file
base (numeric), converting
base date
binary data
controlling data type of values read
using the Import Wizard
using the Import Wizard with
writing to
binary files
importing
binary from decimal conversion
blanks
finding in string arrays
removing from strings
break
built-in functions
forcing a built-in call
identifying
C++ and MATLAB OOP
caching
MATLAB directory
callback functions
creating
specifying
calling context
calling MATLAB functions
storing as pseudocode
canonical class
case
case conversion <1> <2>
cat
catch
cell
building nested arrays with
preallocating empty arrays with
cell arrays
accessing a subset of cells
accessing data
adding cells to
applying functions to
cell indexing
concatenating
content indexing
converting to numeric array
creating
using assignments
with cells function
with curly braces
deleting cells
deleting dimensions
displaying
expanding
flat
functions
growing <1> <2>
indexing
multidimensional
nested
building with the cells function
indexing
of strings
comparing strings
functions
of structures
organizing data
preallocating <1> <2>
replacing comma-separated list with
reshaping
visualizing
with anonymous function elements
cell indexing
accessing a subset of cells
celldisp
cellplot
char data type
character arrays
categorizing characters of
comparing
comparing values on cell arrays
conversion
converting to cell arrays
creating
delimiting character
evaluating
finding a substring
functions
functions that create
functions that modify
in cell arrays
padding for equal row length
removing trailing blanks
representation
scalar
searching and replacing
searching or comparing
token
two-dimensional
using relational operators on
characters
corresponding ASCII values
finding in string
used as delimiters
characters and strings
class
class directories
classes
clearing definition
constructor method
debugging
designing
matlab
methods required by MATLAB
object-oriented methods
overview
clear <1> <2>
clipboard
importing binary data
closing
files
colon operator
for multidimensional array subscripting
scalar expansion with
column separators
defined
command/function duality
comma-separated lists
FFT example
generating from cell array
generating from structure
replacing with cell array
usage
concatenation
constructing arrays
displaying arrays
function call arguments
function return values
comments
in code
in scripts and functions
comparing
strings
complex arrays
memory requirements
complex conjugate transpose operator
complex number functions
complex numbers
creating
computational functions
applying to cell arrays
applying to multidimensional arrays
applying to structure fields
in M-file
computer
computer type
concatenation
functions
of cell arrays
of diagonal matrices
of matrices
of strings
of unlike data types
conditional statements
constructor methods
guidelines
using class in
containment
content indexing
to access cell contents
Contents.m file
continue
control statements
break
case
catch
continue
else
elseif
for
if
otherwise
return
switch
try
while
conv
converter methods
converting
cases of strings <1> <2>
dates
numbers
strings
converting numeric and string data types
converting numeric to string
converting string to numeric
cos
creating
cell array
multidimensional array
string array
strings
structure array
timer objects
cross
curly braces
for cell array indexing
in cell array syntax
to build cell arrays
to nest cell arrays
data
binary, dependence upon array size and type
data class hierarchy
data organization
cell arrays
multidimensional arrays
structure arrays
data sets
See HDF data sets
data types
cell arrays
cell arrays of strings
combining unlike data types
complex numbers
dates and times
determining
double precision
floating point
double-precision
single-precision
infinity
integers
java classes
logical
logicals
NaN
numeric
precision
reading files
specifying for input
structure arrays
user-defined classes
date
date and time functions
datenum
dates
base
conversions
handling and converting
number
string, vector of input
dates and times
datestr
datevec
deblank
debugging
errors and warnings
debugging class methods
decimal representation
to binary
to hexadecimal
delaying program execution
using timers
deleting
cells from cell array
fields from structure arrays
matrix rows and columns
deleting array elements
deletion operator
delimiter in string
delimiters
defined
diagonal matrices
diary
dim argument for cat
dimensions
deleting
permuting
removing singleton
directories
adding to path
class
Contents.m file
help for
MATLAB
caching
private functions for
private methods for
temporary
disp
dispatch type
display method
examples
displaying
cell arrays
field names for structure array
division operators
left division
matrix left division
matrix right division
right division
double precision
double-precision matrix
downloading files
duality, command/function
dynamic field names in structure arrays
Earth Observing System (EOS)
editor
accessing
for creating M-files
eig
element-by-element organization for structures
else
else, elseif
elseif
empty arrays
and if statement
and relational operators
and while loops
empty matrices
end
end method
end of file
EOS (Earth Observing System)
sources of information
eps
epsilon
equal to operator
error
error handling
debugging
error recovery
formatted message strings
identifying errors
message identifiers
regenerating errors
reporting errors
with try-catch
error messages
formatted message strings
evaluating
string containing function name
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
expanding
cell arrays
structure arrays
expanding cell arrays <1> <2>
expanding structure arrays <1> <2>
exporting
ASCII data
in HDF4 format
in HDF5 format
overview
expressions
involving empty arrays
most recent answer
overloading
scalar expansion with
external program, running from MATLAB
fclose
feof
fid
See file identifiers
field names
dynamic
fieldnames
fields <1> <2>
accessing data within
adding to structure array
applying functions to
all like-named fields
assigning data to
deleting from structures
indexing within
names
size
writing M-files for
fields
file exchange
over Internet
file formats
importing and exporting
file I/O
audio/video files
exporting
importing
graphics files
exporting
importing
internet
downloading from web
FTP operations
sending e-mail
ZIP files
low-level functions
ASCII files
binary files
MAT-files
exporting
importing
MATLAB HDF utility API
memory mapping
See memory mapping
overview
audio/video files
graphics files
large data sets
low-level functions
scientific formats
spreadsheet files
text files
the internet
toolboxes for importing data
scientific formats
CDF files
FITS files
HDF4 and HDF-DOS files
HDF4 files,exporting to
HDF5 files
spreadsheet files
Lotus 123
Microsoft Excel
supported file formats
text files
exporting
importing
using Import Wizard
with binary files
with text files
file identifiers
clearing
defined
file operations
FTP
filenames
wildcards
files
ASCII
reading
reading formatted text
writing
beginning of
binary
controlling data type values read
data types
reading
writing to
closing
current position
end of
failing to open
file identifiers (FID)
MAT
opening
permissions
position
specifying delimiter used in ASCII files
temporary
find function
and subscripting
finding
substring within a string
flipping matrices
float
floating point
floating point, double-precision
converting to
creating
maximum and minimum values
floating point, single-precision
converting to
creating
maximum and minimum values
floating-point functions
floating-point numbers
largest
smallest
floating-point precision
floating-point relative accuracy
flow control
break
case
catch
continue
else
elseif
for
if
otherwise
return
switch
try
while
fopen
failing
for <1> <2>
example
indexing
nested
syntax
format for numeric values
fread
frewind
fseek
ftell
FTP file operations
function calls
memory requirements
function definition line
for subfunction
in an M-file
syntax
function handles
example
for nested functions
maximum name length
naming
operations on
overview of
function workspace
functions
applying
to multidimensional structure arrays
to structure contents
applying to cell arrays
arguments
passing variable number of
body <1> <2>
built-in
forcing a built-in call
identifying
calling
command syntax
function syntax
passing arguments
calling context
cell arrays
cell arrays of strings
changing indexing style
character arrays
clearing from memory
comments
comparing character arrays
complex number
computational, applying to structure fields
creating a matrix
creating arrays with
creating matrices
date and time
determining data type
example
executing function name string
finding matrix structure or shape
floating-point
for diagonal matrices
infinity
integer
logical array
matrix concatenation
M-file
modifying character arrays
modifying matrix shape
multidimensional arrays
multiple output arguments
NaN
numeric and string conversion
numeric to string conversion
output formatting
overloaded
overloading
primary
searching character arrays
sorting and shifting
sparse matrix
storing as pseudocode
string to numeric conversion
structures
that determine data type
type identification
types of
anonymous
nested
overloaded
primary
private
subfunctions
fwrite
get method
global attributes
HDF files
global variables
alternatives
creating
displaying
suggestions for use
graphics files
getting information about
importing and exporting
greater than operator
greater than or equal to operator
growing an array
growing cell array <1> <2>
growing structure arrays <1> <2>
H1 line <1> <2>
and help command
and lookfor command
HDF (Hierarchical Data Format)
exporting in HDF4 format
exporting in HDF5 format
importing into MATLAB
importing subsets of data
MATLAB utility API
output arguments
programming model
selecting data sets to import
HDF data sets
accessing
associating attributes with
closing access
creating
getting information about
reading
using predefined attributes
HDF files
access modes
associating attributes with
closing
closing all open identifiers
creating
getting information about
listing open identifiers
opening
reading global attributes
writing data
HDF5
reading files
HDF-EOS
Earth Observing System
help
M-file
help
and H1 line
help text
hexadecimal, converting from decimal
Hierarchical Data Format
reading HDF5 files
hierarchy of data classes
if
and empty arrays
example
nested
imaginary unit
Import Data option
import functions
comparison of features
Import Wizard
importing binary data
with ASCII data
with binary data
importing
ASCII data
HDF data
from the command line
Import Wizard
overview
selecting HDF data sets
subsets of HDF data
indexed reference
indexing
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
inferiorto function
infinity
functions
represented in MATLAB
inheritance
example class
multiple
simple
integer data type
integer functions
integers
creating
largest system can represent
smallest system can represent
Internet functions
intmax
intmin
inverse permutation of array dimensions
ipermute
isa
Java and MATLAB OOP
keywords
checking for
large data sets
memory usage in array storage
memory usage in function calls
lasterr
using with message identifiers
less than operator
less than or equal to operator
load
loading data
overview
loading objects
loadobj example
local variables
logical array functions
logical data type
logical expressions
and subscripting
logical operators
bit-wise
element-wise
short-circuit
logical types
logical vectors
long
long integer
lookfor <1> <2>
and H1 line
loops
for
while
mapping memory
See memory mapping
MATLAB
data type classes
programming
M-files
scripts
structures
version
matrices
accessing multiple elements
accessing single elements
concatenating
concatenating diagonally
constructing a matrix operations
constructing
creating
data structure query
data type query
deleting rows and columns
diagonal
empty
expanding
flipping
functions
changing indexing style
creating a matrix
determining data type
finding matrix structure or shape
modifying matrix shape
sorting and shifting
functions for creating
functions for diagonals
getting dimensions of
linear indexing
logical indexing
reshaping
rotating
scalar
shifting
sorting column data
sorting row data
sorting row vectors
transposing
vectors
matrix
double-precision
for loop index
single-precision
See also matrices
matrix operations
concatenating matrices
creating matrices
mean
memory
function workspace
making efficient use of
management
Out of Memory message
memory mapping
demonstration
memmapfile class
class constructor
class methods
class properties
defined
filename property
format property
offset property
repeat property
supported formats
writable property
overview
benefits of
byte ordering
limitations of
when to use
reading from file
removing map
selecting file to map
setting access privileges
setting extent of map
setting start of map
specifying data types in file
supported data types
writing to file
memory requirements
array headers
for array allocation
for complex arrays
for copying arrays
for creating and modifying arrays
for handling variables in
for numeric arrays
for passing arguments
for sparse matrices
message identifiers
using with errors
using with lasterr
using with warnings
methods
converters
determining which is called
display
end
get
invoking on objects
listing
precedence
required by MATLAB
set
subsasgn
subsref
M-file functions
identifying
M-files
comments
contents
corresponding to functions
creating
in MATLAB directory
creating with text editor
kinds
naming
operating on structures
overview
primary function
subfunction
superseding existing names
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
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
multiplication operators
matrix multiplication
multiplication
names
structure fields
superseding
NaN
functions
logical operations on
NaN
nargin
checking input arguments
in nested functions
nargout
checking output arguments
in nested functions
ndgrid
ndims
nested functions
creating
example -- creating a function handle
example -- function-generating functions
passing optional arguments
separate variable instances
using function handles with
variable scope in
nesting
cell arrays
for loops
if statements
structures
newlines in string arrays
not (M-file function equivalent for ~)
not a number (NaN)
not equal to operator
Not-a-Number
now
number of arguments
numbers
date
time
numeric arrays
memory requirements
numeric data types
conversion functions
setting display format
numeric to string conversion
functions
object-oriented programming
features of
inheritance
multiple
simple
overloading
subscripting
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
opening
files
failing
HDF files
permissions
using low-level functions
operator precedence
overriding
operators
addition
applying to cell arrays
applying to structure fields
colon
complex conjugate transpose
deletion
equal to
greater than
greater than or equal to
left division
less than
less than or equal to
logical
bit-wise
element-wise
short-circuit
matrix left division
matrix multiplication
matrix power
matrix right division
multiplication
not equal to
overloading
power
right division
subtraction
table of
transpose
unary minus
unary plus
optimization
preallocation, array <1> <2>
vectorization
or (M-file function equivalent for |)
organizing data
cell arrays
multidimensional arrays
structure arrays
otherwise
Out of Memory message
output arguments
order of
output formatting functions
overloaded functions
overloading
arithmetic operators
functions
loadobj
operators
pie3
saveobj
pack
page subscripts
parentheses
for input arguments
overriding operator precedence with
Paste Special option
path
adding directories to
pcode
percent sign (comments)
performance
analyzing
permission strings
permute
permuting array dimensions
inverse
persistent variables
pi
pie3 function overloaded
plane organization for structures
polar
polynomials
example class
power operators
matrix power
power
preallocation
arrays <1> <2>
cell array
precedence
object
operator
overriding
precision
char
data types
double
float
long
short
single
uchar
primary functions
private directory
private functions
precedence of in classes
precedence of when calling
private methods
program control
break
case
catch
continue
else
elseif
for
if
otherwise
return
switch
try
while
programs
running external
pseudocode
quit
randn
reading
HDF data
from the command line
selecting HDF data sets
subsets of HDF data
realmax
realmin
reference, subscripted
regexp
regexpi
regexprep
regular expression metacharacters
character classes
match alphanumeric character (\w)
match any character (period)
match any characters but these ([^c1c2c3])
match any of these characters ([c1c2c3])
match characters in this range ([c1-c2])
match digit character (\d)
match nonalphanumeric character (\W)
match nondigit character (\D)
match nonwhitespace character (\S)
match whitespace character (\s)
character representation
alarm character (\a)
backspace character (\b)
carriage return character (\r)
escape character (\e)
form feed character (\f)
hexadecimal character (\x)
horizontal tab character (\t)
literal character (\char)
new line character (\n)
octal character (\o)
vertical tab character (\v)
logical operators
atomic group ((?>expr))
comment ((?#expr))
match exact word (\<expr\>)
match expr1 or expr2 (expr1|expr2)
match if expression begins string (^expr)
match if expression begins word (\<expr)
match if expression ends string (expr$)
match if expression ends word (expr\>)
noncapturing group ((?:expr))
standard group ((expr))
lookaround operators
match expr1, if followed by expr2 (expr1(?=expr2))
match expr1, if not followed by expr2 (expr1(?!expr2))
match expr2, if not preceded by expr1 (expr1(?<!expr2))
match expr2, if preceded by expr1 (expr1(?<=expr2))
operator summary
quantifiers
greedy quantifier (qu_expr*)
lazy quantifier (qu_expr?)
match 0 or 1 instance (expr?)
match 0 or more instances (expr?*)
match 1 or more instances (expr?+)
match n instances (expr{n})
match n to m instances (expr{nm})
possessive quantifier (qu_expr+)
token operators
create named token ((?<name>expr))
create token ((expr))
if token, match expr ((?(token)expr))
if token, match expr1, else expr2 ((?(token)expr1|expr2))
match named token (\k<name>)
match Nth token (\N)
replace Nth token ($N)
regular expressions
[c1 - c2]
[c1c2c3]
character classes
character representation
conditional expressions
functions
regexp
regexpi
regexprep
introduction
logical operators
lookaround operators
multiple strings
finding a single pattern
finding multiple patterns
matching
replacing
quantifiers
greedy
lazy
possessive
tokens
example 1
example 2
named capture
operators
use in replacement string
using token parameter
relational operators
empty arrays
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
reshaping matrices
return
rmfield
rotating matrices
save
saveobj example
saving
objects
scalar
and relational operators
expansion
string
scalars
scheduling program execution
using timers
Scientific Data API
programming model
scripts
example
executing
search path
M-files on
set method
shell escape functions
shiftdim
shifting matrix elements
short
short integer
simple inheritance
sin
single precision
single-precision matrix
size
structure arrays
structure fields
size
smallest value system can represent
sorting matrix column data
sorting matrix row data
sorting matrix row vectors
sparse matrices
memory requirements
sparse matrix functions
sprintf
square brackets
for output arguments
squeeze
with multidimensional arguments
sscanf
starting
timers
statements
conditional
stopping
timers
strcmp
string to numeric conversion
functions
strings
functions to create
strings, cell arrays of
structs
for nested structures
structure arrays
accessing data
adding fields to
applying functions to
building
using structs
data organization
deleting fields
dynamic field names
element-by-element organization
expanding
fields
assigning data to
growing <1> <2>
indexing
nested structures
within fields
multidimensional
applying functions
nesting
obtaining field names
organizing data
example
plane organization
size
subarrays, accessing
subscripting
used with classes
within cell arrays
writing M-files for
example
structures
field names
dynamic
functions
subfunctions
accessing
creating
debugging
definition line
precedence of
subsasgn
for index reference
for subscripted assignment
subscripted assignment
subscripting
how MATLAB calculates indices
multidimensional arrays
overloading
page
structure arrays
with logical expression
with logical vectors
with the find function
subsref
subsref method
substring within a string
subtraction operator
sum
superiorto
superseding existing M-file names
switch
case groupings
example
multiple conditions
symbols
asterisk *
at sign @
colon :
comma ,
curly braces { }
dot .
dot-dot ..
dot-dot-dot ...
dot-parentheses .( )
exclamation point !
parentheses ( )
percent %
percent-brace %{ and %}
semicolon ;
single quotes '
space character
square brackets [ ]
tabs in string arrays
tempdir
tempname
temporary files
creating
text files
importing
reading
time
numbers
time and date functions
timer objects
blocking the command line
callback functions
creating
deleting
execution modes
finding all existing timers
naming convention
overview
properties
starting
stopping
timers
starting and stopping
using
times and dates
tips, programming
additional information
command and function syntax
debugging
demos
development environment
evaluating expressions
files and filenames
function arguments
help
input/output
MATLAB path
M-file functions
operating system compatibility
program control
program development
save and load
starting MATLAB
strings
variables
token in string
tokens
regular expressions
tolerance
transpose
transpose operator
transposing matrices
trigonometric functions
try
try-catch
type identification functions
uchar data type
unary minus operator
unary plus operator
user classes, designing
value
data type
largest system can represent
varargin <1> <2>
in argument list
in nested functions
unpacking contents
varargout
in argument list
in nested functions
packing contents
variables
global
alternatives
creating
displaying
suggestions for use
local
naming
persistent
replacing list with a cell array
storage in memory
usage guidelines
vector
logical
of dates
preallocation <1> <2>
vectorization
example
replacing for
vectorization
vectors
version
obtaining
version
visualizing
cell array
warning control
saving and restoring state
warning control statements
message identifiers
output from
output structure array
warnings
debugging
identifying
syntax
warning control statements
warning states
Web content access
which
used with methods
while
empty arrays
example
syntax
white space
finding in string
whos
interpreting memory use
wildcards, in filenames
workspace
context
of individual functions
writing
ASCII data
HDF data
in HDF4 format
in HDF5 format
zeros