vertcat
Vertical concatenation ([A; B]).
Syntax
Section titled “Syntax”C = vertcat(A, B)C = vertcat(A, B, ...)Description
Section titled “Description”Concatenates arrays vertically — equivalent to [A; B] syntax. All inputs must have the same number of columns (or the same size in every dimension other than 1).
Examples
Section titled “Examples”vertcat([1 2], [3 4]) % [1 2; 3 4]vertcat(eye(2), zeros(2)) % 4×2