vertcat
Vertical concatenation.
📝Syntax
R = vertcat(M1, M2, ... , MN)
R = [M1; M2; ... ; MN]
📥Input Arguments
Parameter Description
M1 a variable
M2 a variable
MN a variable
📤Output Arguments
Parameter Description
R result of [M1; M2; ... ; MN]
📄Description

R = vertcat(M1, M2, ... , MN) returns the vertical concatenation of M1, M2, ... , MN along the dimension 1.

💡Examples
A = eye(2, 2);
B = ones(2, 2);
C = vertcat(A, B)
D = [A; B]
A = 'nel';
B = 'son';
C = vertcat(A, B)
🔗See Also
horzcatcat
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub