78
Catenate (The Index [I]
Entry
Is
an Integer):
The
catenate function joins
two
items along
an existing coordinate. (See
the
laminate function following
for
a description
of
how
to
join
two
items along a new coordinate). The index
[I],
if given, specifies which
coordinate
is
expanded.
The
index
entry
must be a positive scalar
or
one-element
array. If no index [I]
is
specified,
the
last coordinate
is
used. Matrices
of
unequal
sizes can be joined, providing
the
lengths
of
the
coordinate
not
specified are
the
same (see Catenation
in
Chapter 3):
A~:I.
1+
[u··7
9
~5
AlB
1
L~
-,
9
5
A+-2
3p1
I)
3 4
1::'
t)
t:"
,.1
B+-2
3p7
8
9
1.0
11.
12
A
1 2
3
'+
5 6
B
7
8
9
10
:L
1.
:1.2
AlB
1
2
~3
7
8
9
L~
5
6
10
II
12
AI[1JB
1
2
:3
L~
5
6
7
8 9
1.0
11.
:1.2
A,
[2Jf.t
1
,.)
.:-
3
..,
8
9
4
.::'
6
10
1:1.
1
r)
\.I
~-
A}[~.~]10
20
:1.
')
t:_
~5
10
I.f-
I'"
,,)
6
20
10
20
30
..
C:I.JA
:1.
0
20
30
1
I')
1:-
:3
'+
5
6
/
,1
"~",