FUNCTION REFERENCE

vertcat

Stack arrays on top of each other.

Stack arrays on top of each other.

Syntax

C = vertcat(A, B, ...)

Same as [A; B; ...]; cell inputs join as in cat. vertcat() returns [].

Example

vertcat([1 2], [3 4])   % [1 2; 3 4]

Differences from MATLAB: Two-dimensional inputs only. Integer and single classes follow the same concatenation rules as bracket literals. Cell and struct payloads remain shared.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.