Combine Cell Arrays .....................................
12-10
Pass Contents of Cell Arrays to Functions ....................
12-11
Preallocate Memory for Cell Array ..........................
12-15
Cell vs. Structure Arrays ..................................
12-16
Multilevel Indexing to Access Parts of Cells ..................
12-20
Function Handles
13
Create Function Handle ...................................
13-2
What Is a Function Handle? ..............................
13-2
Creating Function Handles ...............................
13-2
Anonymous Functions ...................................
13-3
Arrays of Function Handles ..............................
13-4
Saving and Loading Function Handles ......................
13-4
Pass Function to Another Function ..........................
13-5
Call Local Functions Using Function Handles .................
13-6
Compare Function Handles ................................
13-8
Map Containers
14
Overview of Map Data Structure ............................
14-2
Description of Map Class ..................................
14-4
Properties of Map Class .................................
14-4
Methods of Map Class ..................................
14-4
Create Map Object ........................................
14-6
Construct Empty Map Object .............................
14-6
Construct Initialized Map Object ..........................
14-6
Combine Map Objects ...................................
14-7
Examine Contents of Map ..................................
14-8
Read and Write Using Key Index ............................
14-9
Read From Map .......................................
14-9
Add Key/Value Pairs ...................................
14-10
Build Map with Concatenation ...........................
14-10
xiii
12-10
Pass Contents of Cell Arrays to Functions ....................
12-11
Preallocate Memory for Cell Array ..........................
12-15
Cell vs. Structure Arrays ..................................
12-16
Multilevel Indexing to Access Parts of Cells ..................
12-20
Function Handles
13
Create Function Handle ...................................
13-2
What Is a Function Handle? ..............................
13-2
Creating Function Handles ...............................
13-2
Anonymous Functions ...................................
13-3
Arrays of Function Handles ..............................
13-4
Saving and Loading Function Handles ......................
13-4
Pass Function to Another Function ..........................
13-5
Call Local Functions Using Function Handles .................
13-6
Compare Function Handles ................................
13-8
Map Containers
14
Overview of Map Data Structure ............................
14-2
Description of Map Class ..................................
14-4
Properties of Map Class .................................
14-4
Methods of Map Class ..................................
14-4
Create Map Object ........................................
14-6
Construct Empty Map Object .............................
14-6
Construct Initialized Map Object ..........................
14-6
Combine Map Objects ...................................
14-7
Examine Contents of Map ..................................
14-8
Read and Write Using Key Index ............................
14-9
Read From Map .......................................
14-9
Add Key/Value Pairs ...................................
14-10
Build Map with Concatenation ...........................
14-10
xiii
