vertcat
Concatenate fi
object arrays vertically
Description
concatenates C
= vertcat(A1,A2,…An
)A1,A2,…An
vertically when any of
A1,A2,…An
is a fi
object.
A
and B
must have the same number of columns.
Multidimensional arrays are vertically concatenated along the first dimension. The remaining
dimensions must match.
vertcat
is equivalent to using square brackets for vertically
concatenating arrays. For example, [A; B]
is equal to
vertcat(A,B)
when A
and B
are
compatible arrays.
Horizontal and vertical concatenation can be combined, as in [a b;c
d]
.
[a b; c]
is allowed if the number of rows of a
equals the number of rows of b
, and if the number of columns of
a
plus the number of columns of b
equals the number
of columns of c
.
The matrices in a concatenation expression can themselves be formed via a concatenation,
as in [a b;[c d]]
.
Note
The fimath
and numerictype
objects of a concatenated matrix of fi
objects C
are taken from the leftmost fi
object
in the list A1,A2,…An
.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced before R2006a
See Also
horzcat
| fi
| fimath
| numerictype