horzcat
Concatenate multiple fi objects horizontally
Description
concatenates C = horzcat(A1,A2,…An)A1,A2,…,An horizontally.
horzcat is equivalent to using square brackets for horizontally
concatenating arrays. For example, [A,B] or [A B] is
equal to horzcat(A,B) when A and B
are compatible arrays.
Note
The fimath and numerictype properties of a
concatenated matrix of fi objects, C, are taken
from the leftmost fi object in the list
A1,A2,…,An.
Input Arguments
Tips
Horizontal and vertical concatenation can be combined together, as in
[1 2;3 4].The matrices in a concatenation expression can themselves be formed via a concatenation, as in
[a b;[c d]].[A B;C]is allowed if the number of rows ofAequals the number of rows ofBand if the number of columns ofAplus the number of columns ofBequals the number of columns ofC.When concatenating an empty array to a nonempty array,
horzcatomits the empty array in the output. For example,horzcat(fi([1 2]),[])
ans = 1 2 DataTypeMode: Fixed-point: binary point scaling Signedness: Signed WordLength: 16 FractionLength: 13
Extended Capabilities
Version History
Introduced before R2006a