FUNCTION REFERENCE
horzcat
Join arrays side by side.
Join arrays side by side.
Syntax
C = horzcat(A, B, ...)Same as [A, B, ...]; cell inputs join as in cat. horzcat() returns [].
Example
horzcat([1 2], [3 4]) % [1 2 3 4]Differences from MATLAB: 2-D inputs only. Integer and single classes follow the same concatenation rules as bracket literals.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.